From b3a5bb1a7ee3540c36d1815f5ac6cc580cf94ce9 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sat, 18 May 2024 19:24:08 +0000 Subject: [PATCH] Update default.conf --- default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.conf b/default.conf index fd672b4..ccb273e 100644 --- a/default.conf +++ b/default.conf @@ -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 / {