diff --git a/default.conf b/default.conf index 40b34a3..408a89b 100644 --- a/default.conf +++ b/default.conf @@ -302,7 +302,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;