From 8ecb398949675f4a2be4711d920c5ee3f1e5ba79 Mon Sep 17 00:00:00 2001 From: skeris Date: Wed, 21 May 2025 20:54:58 +0300 Subject: [PATCH] -- --- default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.conf b/default.conf index dbd4204..347d70e 100644 --- a/default.conf +++ b/default.conf @@ -72,7 +72,7 @@ server { proxy_pass http://10.7.0.6:59300; } - location ~ ^/user/(.+)$ { + location /user { if ($request_method = OPTIONS) { add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; @@ -769,7 +769,7 @@ if ($host = soauth.pena.digital) { add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Headers content-type,authorization always; add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; - proxy_pass http://10.7.0.4:59344; + proxy_pass http://10.7.0.6:59344; } }