Update default.conf

This commit is contained in:
Mikhail 2024-05-18 19:51:12 +00:00
parent 6703077598
commit eaf77f0974

@ -302,7 +302,7 @@ server {
proxy_pass https://storage.yandexcloud.net; proxy_pass https://storage.yandexcloud.net;
} }
location /verification/ { location ~ ^/verification/?((?<=/).*)?$ {
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;
@ -323,7 +323,7 @@ server {
proxy_buffering off; proxy_buffering off;
proxy_cache off; proxy_cache off;
proxy_pass http://$apiversion/; proxy_pass http://$apiversion/$1;
} }
location / { location / {