static to 80
This commit is contained in:
parent
61841b440b
commit
2e97d1d88e
8
80.conf
8
80.conf
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user