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;