From 57607c7fd40d5c8ac55cfb1c3da362096fd1990c Mon Sep 17 00:00:00 2001 From: ITQ Date: Sat, 1 Mar 2025 16:39:17 +0300 Subject: [PATCH] removed cors from nginx --- infrastructure/nginx/nginx.conf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/infrastructure/nginx/nginx.conf b/infrastructure/nginx/nginx.conf index ba8fad3..2773428 100644 --- a/infrastructure/nginx/nginx.conf +++ b/infrastructure/nginx/nginx.conf @@ -147,11 +147,6 @@ http { 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_request_buffering off; client_max_body_size 100M;