From fcc48bc005192f09d5838698e684d0aa35cd1484 Mon Sep 17 00:00:00 2001 From: "tommaso.piccioli" Date: Mon, 4 Sep 2017 11:57:11 +0200 Subject: [PATCH] fix in nginx-cors.conf --- nginx/templates/nginx-cors.conf.j2 | 1 - 1 file changed, 1 deletion(-) diff --git a/nginx/templates/nginx-cors.conf.j2 b/nginx/templates/nginx-cors.conf.j2 index b3e8f4bc..05228fd8 100644 --- a/nginx/templates/nginx-cors.conf.j2 +++ b/nginx/templates/nginx-cors.conf.j2 @@ -51,7 +51,6 @@ add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With'; {% if nginx_cors_limit_origin %} -} if ($request_method = 'OPTIONS') { return 204; }