mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2025-01-03 05:17:36 +03:00
Added proxy against UDS
This commit is contained in:
parent
02aa10471f
commit
12539a6ca9
@ -4,7 +4,7 @@
|
||||
"license": "BSD-3-Clause",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve --host 172.27.0.1 --port 9000",
|
||||
"start": "ng serve --host 172.27.0.1 --port 9000 --proxy-config proxy.conf.json",
|
||||
"build": "ng build --prod --output-hashing=none --aot --deleteOutputPath --build-optimizer --deploy-url static",
|
||||
"test": "ng test",
|
||||
"lint": "ng lint",
|
||||
|
22
proxy.conf.json
Normal file
22
proxy.conf.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"/rest": {
|
||||
"target": {
|
||||
"host": "172.27.0.1",
|
||||
"protocol": "http:",
|
||||
"port": 8000
|
||||
},
|
||||
"secure": false,
|
||||
"changeOrigin": true,
|
||||
"logLevel": "info"
|
||||
},
|
||||
"/info": {
|
||||
"target": {
|
||||
"host": "172.27.0.1",
|
||||
"protocol": "http:",
|
||||
"port": 8000
|
||||
},
|
||||
"secure": false,
|
||||
"changeOrigin": true,
|
||||
"logLevel": "info"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user