diff --git a/infrastructure/nginx/nginx.conf b/infrastructure/nginx/nginx.conf index fc975a6..a0e495f 100644 --- a/infrastructure/nginx/nginx.conf +++ b/infrastructure/nginx/nginx.conf @@ -113,9 +113,7 @@ http { proxy_buffering off; proxy_request_buffering off; - } - location /api { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' "$http_origin"; add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS';