modified: main_dc/nginx/nginx-ssl.conf
modified: main_dc/yalarba/easySite/easySite/app/pages/auth/register.vue delete cors settings from nginx
This commit is contained in:
@@ -138,11 +138,6 @@ server {
|
||||
proxy_send_timeout 600;
|
||||
proxy_read_timeout 600;
|
||||
|
||||
# CORS headers
|
||||
add_header Access-Control-Allow-Origin "*";
|
||||
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
|
||||
add_header Access-Control-Allow-Headers "Content-Type, Authorization";
|
||||
|
||||
# Handle preflight requests
|
||||
if ($request_method = OPTIONS) {
|
||||
return 204;
|
||||
|
||||
Reference in New Issue
Block a user