Update default.conf

This commit is contained in:
Mikhail 2024-05-18 12:58:55 +00:00
parent c884c1f52d
commit fb7f8f1109

@ -10,6 +10,12 @@
map $uri $service { map $uri $service {
~^/([^/]+).*$ $1; ~^/([^/]+).*$ $1;
} }
map "$service:$http_apiversion" $apiversion {
"verification:v1.0.0" verificationv1.0.0;
"verification:" verificationv0;
}
server { server {
root /usr/share/nginx/html; root /usr/share/nginx/html;
@ -318,7 +324,7 @@ server {
proxy_buffering off; proxy_buffering off;
proxy_cache off; proxy_cache off;
proxy_pass http://10.8.0.6:7035/; proxy_pass http://$apiversion/;
} }
location / { location / {