Update default.conf
This commit is contained in:
parent
bd286f4020
commit
b3a5bb1a7e
@ -294,7 +294,7 @@ server {
|
||||
proxy_pass https://storage.yandexcloud.net;
|
||||
}
|
||||
|
||||
location ~ ^/verification(/?)(.*)$ {
|
||||
location ~ ^/verification/(.*)$ {
|
||||
if ($request_method = OPTIONS) {
|
||||
add_header Access-Control-Allow-Origin $http_origin always;
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
@ -314,7 +314,7 @@ server {
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
|
||||
proxy_pass http://$apiversion/$2;
|
||||
proxy_pass http://$apiversion/$1;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
Loading…
Reference in New Issue
Block a user