Remove hiding Access-Control-Allow-Origin from the virtualhost.
This commit is contained in:
parent
99f5a5836f
commit
e97690243d
templates
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue