Access-Control-Allow-Origin *

This commit is contained in:
Primakov Alexandr Alexandrovich 2022-02-19 17:34:06 +03:00
parent 3a7994cd94
commit 3add56919c

View File

@ -102,7 +102,7 @@ server {
# include /etc/nginx/snippets/ssl-params.conf; # include /etc/nginx/snippets/ssl-params.conf;
location / { location / {
add_header 'Access-Control-Allow-Origin' '*.inno-js.ru'; add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';