mirror of https://github.com/midoks/mdserver-web
parent
0f27552817
commit
7c23c16280
@ -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 *; |
||||
|
Loading…
Reference in new issue