diff --git a/templates/nginx-virthost.j2 b/templates/nginx-virthost.j2 index 503641f..2a7f9a0 100644 --- a/templates/nginx-virthost.j2 +++ b/templates/nginx-virthost.j2 @@ -124,7 +124,6 @@ server { {% if nginx_cors_enabled %} {% if nginx_cors_global %} - proxy_hide_header Access-Control-Allow-Origin; include /etc/nginx/snippets/nginx-cors.conf; {% endif %} {% endif %} @@ -308,7 +307,6 @@ server { {% if nginx_cors_enabled %} {% if nginx_cors_global %} - proxy_hide_header Access-Control-Allow-Origin; include /etc/nginx/snippets/nginx-cors.conf; {% endif %} {% endif %}