Update file default.conf
This commit is contained in:
parent
ba70532928
commit
dc6124c1f1
@ -42,7 +42,7 @@ server {
|
|||||||
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;
|
||||||
add_header Access-Control-Allow-Headers content-type,authorization always;
|
add_header Access-Control-Allow-Headers content-type,authorization always;
|
||||||
add_header Access-Control-Allow-Methods OPTINOS, GET, POST, PATCH, PUT, DELETE;
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
proxy_set_header Referer $host;
|
proxy_set_header Referer $host;
|
||||||
proxy_set_header Origin $http_origin;
|
proxy_set_header Origin $http_origin;
|
||||||
proxy_set_header Connection '';
|
proxy_set_header Connection '';
|
||||||
|
Loading…
Reference in New Issue
Block a user