ci: remove from external interface

This commit is contained in:
skeris 2024-04-22 11:58:36 +03:00
parent 3f8301c4fe
commit 3fc5fc1490

@ -21,10 +21,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;
@ -42,7 +42,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:59300;
proxy_pass http://10.8.0.6:59300;
}
location /manager/ {
if ($request_method = OPTIONS) {
@ -56,11 +56,11 @@ 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:59301/;
proxy_pass http://10.8.0.6:59301/;
}
location /swagger/ {
proxy_pass http://10.6.0.11:59300/;
proxy_pass http://10.8.0.6:59300/;
}
location /heruvym/ {
@ -75,7 +75,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/ {
@ -90,7 +90,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/ {
@ -105,7 +105,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:8065/;
proxy_pass http://10.8.0.6:8065/;
}
location /codeword/ {
@ -120,7 +120,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:59664/;
proxy_pass http://10.8.0.6:59664/;
}
location /answer/ {
@ -135,7 +135,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.23:1490/;
proxy_pass http://10.8.0.5:1490/;
}
location /squiz/ {
@ -150,7 +150,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.23:1488/;
proxy_pass http://10.8.0.5:1488/;
}
location /squizstorer/ {
@ -172,7 +172,7 @@ server {
chunked_transfer_encoding off;
proxy_buffering off;
proxy_cache off;
proxy_pass http://10.6.0.23:1489/;
proxy_pass http://10.8.0.5:1489/;
}
location /price/ {
@ -187,7 +187,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:8001/;
proxy_pass http://10.8.0.6:8001/;
}
location /feedback/ {
if ($request_method = OPTIONS) {
@ -257,7 +257,7 @@ server {
chunked_transfer_encoding off;
proxy_buffering off;
proxy_cache off;
proxy_pass http://10.6.0.17:7035/;
proxy_pass http://10.8.0.6:7035/;
}