Remove hiding Access-Control-Allow-Origin from the virtualhost.

This commit is contained in:
Andrea Dell'Amico 2024-06-11 14:46:23 +02:00
parent 99f5a5836f
commit e97690243d
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 0 additions and 2 deletions

View File

@ -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 %}