Update default.conf
This commit is contained in:
parent
13d6525cb9
commit
8154bdad94
24
default.conf
24
default.conf
@ -46,10 +46,10 @@ server {
|
||||
return 200;
|
||||
}
|
||||
if ($host = sadmin.pena) {
|
||||
proxy_pass http://10.6.0.11:59301;
|
||||
proxy_pass http://10.8.0.6:59301;
|
||||
}
|
||||
if ($host != sadmin.pena) {
|
||||
proxy_pass http://10.6.0.11:59300;
|
||||
proxy_pass http://10.8.0.6:59300;
|
||||
}
|
||||
proxy_hide_header Access-Control-Allow-Origin;
|
||||
add_header Access-Control-Allow-Origin $http_origin always;
|
||||
@ -67,11 +67,11 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
proxy_pass http://10.6.0.11:59300;
|
||||
proxy_pass http://10.8.0.6:59300;
|
||||
}
|
||||
|
||||
location /swagger/ {
|
||||
proxy_pass http://10.6.0.11:59300/;
|
||||
proxy_pass http://10.8.0.6:59300/;
|
||||
}
|
||||
|
||||
location /heruvym/ {
|
||||
@ -87,7 +87,7 @@ server {
|
||||
chunked_transfer_encoding off;
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
proxy_pass https://10.6.0.11:1488/;
|
||||
proxy_pass https://10.8.0.6:1488/;
|
||||
}
|
||||
|
||||
location /strator/ {
|
||||
@ -102,7 +102,7 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type,authorization always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
proxy_pass http://10.6.0.11:59303/;
|
||||
proxy_pass http://10.8.0.6:59303/;
|
||||
}
|
||||
|
||||
location /customer/ {
|
||||
@ -117,7 +117,7 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
proxy_pass http://10.6.0.11:8065/;
|
||||
proxy_pass http://10.8.0.6:8065/;
|
||||
}
|
||||
|
||||
location /codeword/ {
|
||||
@ -132,7 +132,7 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
proxy_pass http://10.6.0.11:59664/;
|
||||
proxy_pass http://10.8.0.6:59664/;
|
||||
}
|
||||
|
||||
location /treasurer/ {
|
||||
@ -147,7 +147,7 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
proxy_pass http://10.6.0.11:8085/;
|
||||
proxy_pass http://10.8.0.6:8085/;
|
||||
}
|
||||
|
||||
location /answer/ {
|
||||
@ -233,7 +233,7 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
proxy_pass http://10.6.0.11:8001/;
|
||||
proxy_pass http://10.8.0.6:8001/;
|
||||
}
|
||||
location /feedback/ {
|
||||
if ($request_method = OPTIONS) {
|
||||
@ -303,7 +303,7 @@ server {
|
||||
chunked_transfer_encoding off;
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
proxy_pass http://10.6.0.11:7035/;
|
||||
proxy_pass http://10.8.0.6:7035/;
|
||||
}
|
||||
|
||||
location / {
|
||||
@ -331,7 +331,7 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type,authorization always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
proxy_pass http://10.6.0.11:59344;
|
||||
proxy_pass http://10.8.0.6:59344;
|
||||
}
|
||||
|
||||
if ($host = newerait.pena.digital) {
|
||||
|
Loading…
Reference in New Issue
Block a user