project добавил поддомен

This commit is contained in:
Primakov Alexandr Alexandrovich 2022-04-08 16:49:32 +03:00
parent 99767b35c6
commit cf20e1c5e7

13
80.conf
View File

@ -176,6 +176,19 @@ server {
}
}
server {
listen 80;
server_name poject.inno-js.ru;
location / {
add_header 'Access-Control-Allow-Origin' '*';
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/project/";
}
}
# server {
# listen 80;
# index index.html;