Update default.conf
This commit is contained in:
parent
ed2c209f36
commit
1754b4d3d8
@ -71,7 +71,7 @@ server {
|
|||||||
proxy_pass http://10.7.0.6:59300;
|
proxy_pass http://10.7.0.6:59300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /user/ {
|
location ~ ^/user/(.+)$ {
|
||||||
if ($request_method = OPTIONS) {
|
if ($request_method = OPTIONS) {
|
||||||
add_header Access-Control-Allow-Origin $http_origin always;
|
add_header Access-Control-Allow-Origin $http_origin always;
|
||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
|
Loading…
Reference in New Issue
Block a user