Remove a wrong 'proxy_hide_header' directive.

This commit is contained in:
Andrea Dell'Amico 2024-06-06 12:30:24 +02:00
parent 6f005d13a5
commit 92c84d93c2
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 0 additions and 1 deletions

View File

@ -34,7 +34,6 @@ if ($request_method = 'GET') {
{% if nginx_cors_limit_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' '*';
{% endif %}
add_header 'Access-Control-Allow-Credentials' 'true';