From e97690243d19ebb0b4a1a15b7d6d338af686594d Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico <andrea.dellamico@isti.cnr.it> Date: Tue, 11 Jun 2024 14:46:23 +0200 Subject: [PATCH] Remove hiding Access-Control-Allow-Origin from the virtualhost. --- templates/nginx-virthost.j2 | 2 -- 1 file changed, 2 deletions(-) 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 %}