Update default.conf

This commit is contained in:
Mikhail 2024-05-18 13:04:30 +00:00
parent fb7f8f1109
commit ae5fbdc27d

@ -12,8 +12,8 @@
}
map "$service:$http_apiversion" $apiversion {
"verification:v1.0.0" verificationv1.0.0;
"verification:" verificationv0;
"verification:v1.0.0" 10.8.0.6:7036;
"verification:" 10.8.0.6:7035;
}
server {
@ -315,7 +315,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;
add_header Service $service;
add_header Service $apiversion;
proxy_set_header Referer $host;
proxy_set_header Origin $http_origin;
proxy_set_header Connection '';