INNOJS-16
This commit is contained in:
@@ -97,17 +97,14 @@ server {
|
||||
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
||||
|
||||
set $appsRoot "/home/ijl/ijl/apps";
|
||||
root $appsRoot;
|
||||
|
||||
include /etc/nginx/snippets/ssl-params.conf;
|
||||
|
||||
location / {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
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 "$appsRoot/";
|
||||
alias "/home/ijl/ijl/apps/";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user