Update default.conf
This commit is contained in:
parent
e3949280ab
commit
8bbc3d6159
@ -56,6 +56,9 @@ server {
|
|||||||
add_header Access-Control-Allow-Headers content-type always;
|
add_header Access-Control-Allow-Headers content-type always;
|
||||||
return 200;
|
return 200;
|
||||||
}
|
}
|
||||||
|
add_header Access-Control-Allow-Origin $http_origin always;
|
||||||
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
|
add_header Access-Control-Allow-Headers content-type always;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_pass http://10.6.0.31:8006/;
|
proxy_pass http://10.6.0.31:8006/;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user