|
|
@ -10,7 +10,7 @@ server { |
|
|
|
proxy_http_version 1.1; |
|
|
|
proxy_http_version 1.1; |
|
|
|
proxy_hide_header Access-Control-Allow-Origin; |
|
|
|
proxy_hide_header Access-Control-Allow-Origin; |
|
|
|
proxy_hide_header Access-Control-Allow-Methods; |
|
|
|
proxy_hide_header Access-Control-Allow-Methods; |
|
|
|
add_header 'Access-Control-Allow-Origin' 'http://localhost' always; |
|
|
|
add_header 'Access-Control-Allow-Origin' 'http://localhost:3000' always; |
|
|
|
add_header 'Access-Control-Allow-Credentials' 'true' always; |
|
|
|
add_header 'Access-Control-Allow-Credentials' 'true' always; |
|
|
|
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always; |
|
|
|
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always; |
|
|
|
|
|
|
|
|
|
|
|