diff --git a/80.conf b/80.conf index 623d36f..d68eb2b 100644 --- a/80.conf +++ b/80.conf @@ -35,6 +35,14 @@ server { # add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; # proxy_pass http://212.193.59.173:8079/; # } + + location /static/ { + add_header 'Access-Control-Allow-Origin' '*.inno-js.ru'; + 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-Expose-Headers' 'Content-Length,Content-Range'; + alias "/home/ijl/ijl/apps/"; + } } server {