mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 15:10:22 +00:00
Update initproxy.conf
This commit is contained in:
parent
4396a5d7e0
commit
6efe57e250
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ server {
|
|||
proxy_hide_header X-Frame-Options;
|
||||
add_header 'Access-Control-Allow-Origin' $http_origin;
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS';
|
||||
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization';
|
||||
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-xsrf-token';
|
||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||
if ($request_method = OPTIONS) {
|
||||
return 204;
|
||||
|
|
Loading…
Reference in a new issue