Update admin.conf

This commit is contained in:
Mikhail 2024-12-23 22:17:58 +00:00
parent 831060b325
commit 339ea05471

@ -49,7 +49,7 @@ server {
add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Credentials true always;
add_header Access-Control-Allow-Headers content-type,authorization always; add_header Access-Control-Allow-Headers content-type,authorization always;
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
proxy_pass http://10.8.0.8:59300; proxy_pass http://10.6.0.9:59300;
} }
location /manager/ { location /manager/ {
if ($request_method = OPTIONS) { if ($request_method = OPTIONS) {
@ -63,7 +63,7 @@ server {
add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Credentials true always;
add_header Access-Control-Allow-Headers content-type,authorization always; add_header Access-Control-Allow-Headers content-type,authorization always;
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
proxy_pass http://10.8.0.6:59301/; proxy_pass http://10.6.0.9:59301/;
} }
location /swagger/ { location /swagger/ {
@ -185,7 +185,7 @@ server {
add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Credentials true always;
add_header Access-Control-Allow-Headers content-type,authorization always; add_header Access-Control-Allow-Headers content-type,authorization always;
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
proxy_pass http://10.8.0.8:8001/; proxy_pass http://10.6.0.9:8001/;
} }
location /squizimages { location /squizimages {
if ($request_method = OPTIONS) { if ($request_method = OPTIONS) {