mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-09 22:29:25 +08:00
Update header_cors.conf
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET,OPTIONS,POST' always;
|
||||
add_header 'Access-Control-Allow-Credentials' 'true' always;
|
||||
add_header 'Access-Control-Allow-Origin' $http_origin always;
|
||||
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, X-Requested-With, Cache-Control' always;
|
||||
|
||||
|
||||
|
||||
#add_header Access-Control-Allow-Origin *;
|
||||
#add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
|
||||
|
||||
|
||||
#add_header Access-Control-Allow-Origin *;
|
||||
#add_header Access-Control-Allow-Methods *;
|
||||
#add_header Access-Control-Allow-Header *;
|
||||
|
||||
Reference in New Issue
Block a user