Update admin.conf

This commit is contained in:
Mikhail 2024-07-23 11:46:53 +00:00
parent 8b5559d204
commit c065216230

@ -108,7 +108,7 @@ server {
proxy_pass http://10.8.0.6:59303/; proxy_pass http://10.8.0.6:59303/;
} }
location /customer/ { location /customer/v1.0.1/ {
if ($request_method = OPTIONS) { if ($request_method = OPTIONS) {
add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Origin $http_origin always;
add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Credentials true always;
@ -120,7 +120,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:8065/; proxy_pass http://10.8.0.6:8070/;
} }
location /codeword/ { location /codeword/ {