static to 80

This commit is contained in:
Primakov Alexandr Alexandrovich 2022-02-17 22:49:55 +03:00
parent 61841b440b
commit 2e97d1d88e

View File

@ -35,6 +35,14 @@ server {
# add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; # add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
# proxy_pass http://212.193.59.173:8079/; # 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 { server {