Remove a wrong 'proxy_hide_header' directive.
This commit is contained in:
parent
6f005d13a5
commit
92c84d93c2
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue