|
|
@ -48,7 +48,7 @@ http { |
|
|
|
listen 80 default; |
|
|
|
server_name localhost; |
|
|
|
|
|
|
|
add_header 'Access-Control-Allow-Origin' "$http_origin"; |
|
|
|
add_header 'Access-Control-Allow-Origin' '*'; |
|
|
|
add_header 'Access-Control-Allow-Credentials' 'true'; |
|
|
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS'; |
|
|
|
add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With'; |
|
|
|