removed cors from nginx

This commit is contained in:
ITQ
2025-03-01 16:39:17 +03:00
parent 5bdad3daef
commit 57607c7fd4
-5
View File
@@ -147,11 +147,6 @@ http {
return 204; return 204;
} }
add_header 'Access-Control-Allow-Origin' "$http_origin" always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, X-Requested-With' always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
proxy_buffering off; proxy_buffering off;
proxy_request_buffering off; proxy_request_buffering off;
client_max_body_size 100M; client_max_body_size 100M;