|
@@ -10,9 +10,13 @@ server {
|
|
|
ssl_prefer_server_ciphers on;
|
|
|
ssl_session_timeout 5m;
|
|
|
|
|
|
- add_header 'Access-Control-Allow-Origin' '*';
|
|
|
- add_header 'Access-Control-Allow-Credentials' 'true' ;
|
|
|
- add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
|
|
+ #add_header 'Access-Control-Allow-Origin' '*';
|
|
|
+ #add_header 'Access-Control-Allow-Credentials' 'true' ;
|
|
|
+ #add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
|
|
+
|
|
|
+ add_header Access-Control-Allow-Origin *;
|
|
|
+ add_header Access-Control-Allow-Headers X-Requested-With;
|
|
|
+ add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
|
|
|
|
|
|
charset utf-8;
|
|
|
|