From ee0c922ddfc5abcf7421675e6cce5d275f5c3bf9 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sat, 22 Jul 2017 15:19:44 +0200 Subject: [PATCH] Fix a typo in the nginx CORS snippet. --- nginx/templates/nginx-cors.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/templates/nginx-cors.conf.j2 b/nginx/templates/nginx-cors.conf.j2 index 05e703d3..9314fad6 100644 --- a/nginx/templates/nginx-cors.conf.j2 +++ b/nginx/templates/nginx-cors.conf.j2 @@ -20,7 +20,7 @@ if ($request_method = 'OPTIONS') { } if ($request_method = 'POST') { {% if nginx_cors_limit_origin %} - add_header 'Access-Control-Allow-Origin' "${{ nginx_cors_acl_origin }}"; + add_header 'Access-Control-Allow-Origin' "{{ nginx_cors_acl_origin }}"; add_header 'Access-Control-Allow-Credentials' 'true'; {% else %} add_header 'Access-Control-Allow-Origin' '*';