From 1754b4d3d83c6dfec306f2d48e7f4ef0f156c5a4 Mon Sep 17 00:00:00 2001 From: skeris Date: Wed, 26 Feb 2025 12:13:40 +0000 Subject: [PATCH] Update default.conf --- default.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.conf b/default.conf index ebecfa5..27286c9 100644 --- a/default.conf +++ b/default.conf @@ -71,7 +71,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;