nolim1t
5 years ago
No known key found for this signature in database
GPG Key ID: F6287B82CC84BCBD
1 changed files with
3 additions and
0 deletions
-
nginx/conf.d/default.conf
|
|
@ -5,15 +5,18 @@ server { |
|
|
|
|
|
|
|
location /api/ { |
|
|
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE'; |
|
|
|
add_header Access-Control-Allow-Origin *; |
|
|
|
proxy_pass http://10.11.2.2:3005/; |
|
|
|
} |
|
|
|
|
|
|
|
location /manager-api/ { |
|
|
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE'; |
|
|
|
add_header Access-Control-Allow-Origin *; |
|
|
|
proxy_pass http://10.11.2.1:3006/; |
|
|
|
} |
|
|
|
|
|
|
|
location / { |
|
|
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE'; |
|
|
|
add_header Access-Control-Allow-Origin *; |
|
|
|
proxy_pass http://10.11.0.3:3004/; |
|
|
|
} |
|
|
|