diff --git a/templates/nginx-cors.conf.j2 b/templates/nginx-cors.conf.j2 index d4bb229..4ae8318 100644 --- a/templates/nginx-cors.conf.j2 +++ b/templates/nginx-cors.conf.j2 @@ -53,7 +53,7 @@ proxy_hide_header Access-Control-Allow-Origin; add_header 'Access-Control-Allow-Origin' '{{ nginx_cors_acl_origin | default("$http_origin") }}'; {% else %} proxy_hide_header Access-Control-Allow-Origin; -add_header 'Access-Control-Allow-Origin' '{{ nginx_access_control_allow_origin_src | default("*") }}'; +add_header 'Access-Control-Allow-Origin' '{{ nginx_access_control_allow_origin_src | default("*") }}' always; {% endif %} if ($request_method = OPTIONS ) { return 204;