2022-01-11 19:40:36 +03:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
|
|
|
|
server_name ~^(?<subdomain>.+)\.inno-js\.ru$;
|
|
|
|
|
|
|
|
if ($subdomain = "") {
|
|
|
|
return 301 https://inno-js.ru$request_uri;
|
|
|
|
}
|
|
|
|
|
|
|
|
return 301 https://$subdomain.inno-js.ru$request_uri;
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name ^inno-js\.ru$;
|
|
|
|
index index.php index.html index.htm index.nginx-debian.html;
|
|
|
|
|
|
|
|
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
|
|
|
|
|
|
|
include "parts/api-multystub.conf";
|
|
|
|
|
|
|
|
root "/var/www/html";
|
|
|
|
|
|
|
|
# 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';
|
|
|
|
# proxy_pass http://212.193.59.173:8079/;
|
|
|
|
# }
|
|
|
|
}
|
2021-05-30 19:40:01 +03:00
|
|
|
|
2021-08-26 08:40:12 +03:00
|
|
|
server {
|
2022-01-11 00:43:40 +03:00
|
|
|
# listen 80;
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
2022-01-10 22:35:33 +03:00
|
|
|
server_name b1.inno-js.ru;
|
2021-08-26 08:40:12 +03:00
|
|
|
|
2022-01-11 00:43:40 +03:00
|
|
|
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
|
|
|
|
2021-10-31 15:47:20 +03:00
|
|
|
include "parts/api-multystub.conf";
|
2021-08-26 08:40:12 +03:00
|
|
|
|
2022-01-11 00:51:42 +03:00
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
2021-08-26 08:40:12 +03:00
|
|
|
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';
|
2021-11-09 21:17:29 +03:00
|
|
|
proxy_pass http://212.193.59.173:8078/;
|
2021-08-26 08:40:12 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-22 23:52:58 +03:00
|
|
|
server {
|
2022-01-11 00:43:40 +03:00
|
|
|
# listen 80;
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
2022-01-10 22:35:33 +03:00
|
|
|
server_name b2.inno-js.ru;
|
2021-12-22 23:52:58 +03:00
|
|
|
|
2022-01-11 00:43:40 +03:00
|
|
|
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
|
|
|
|
2021-12-22 23:52:58 +03:00
|
|
|
include "parts/api-multystub.conf";
|
|
|
|
|
2022-01-11 00:51:42 +03:00
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
2021-12-22 23:52:58 +03:00
|
|
|
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';
|
|
|
|
proxy_pass http://212.193.59.173:8075/;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-30 19:40:01 +03:00
|
|
|
server {
|
2022-01-11 00:43:40 +03:00
|
|
|
# listen 80;
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
2022-01-10 22:35:33 +03:00
|
|
|
server_name static.inno-js.ru;
|
2022-01-11 00:43:40 +03:00
|
|
|
|
|
|
|
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
|
|
|
|
2021-05-30 19:40:01 +03:00
|
|
|
set $appsRoot "/home/ijl/ijl/apps";
|
|
|
|
root $appsRoot;
|
|
|
|
|
2022-01-11 00:51:42 +03:00
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
2021-05-30 19:40:01 +03:00
|
|
|
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 "$appsRoot/";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
2022-01-11 00:43:40 +03:00
|
|
|
# listen 80;
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
2022-01-10 22:35:33 +03:00
|
|
|
server_name old.admin.inno-js.ru;
|
2021-05-30 19:40:01 +03:00
|
|
|
|
2022-01-11 00:43:40 +03:00
|
|
|
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
|
|
|
|
2022-01-11 00:51:42 +03:00
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
2021-05-30 19:40:01 +03:00
|
|
|
location / {
|
|
|
|
proxy_pass http://admin/;
|
|
|
|
}
|
|
|
|
}
|
2021-07-22 11:09:47 +03:00
|
|
|
|
2022-01-11 00:43:40 +03:00
|
|
|
# server {
|
|
|
|
# listen 80;
|
|
|
|
# server_name admin.inno-js.ru;
|
2021-06-20 10:04:58 +03:00
|
|
|
|
2022-01-11 00:43:40 +03:00
|
|
|
# location / {
|
|
|
|
# proxy_pass http://212.193.59.173:3072;
|
|
|
|
# }
|
|
|
|
# }
|
2021-06-06 21:34:04 +03:00
|
|
|
|
2022-01-10 23:37:52 +03:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name admin.inno-js.ru;
|
|
|
|
|
|
|
|
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
|
|
|
|
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://212.193.59.173:3072;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-12 19:29:29 +03:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
index index.php index.html index.htm index.nginx-debian.html;
|
2021-10-31 15:47:20 +03:00
|
|
|
|
2022-01-12 19:29:29 +03:00
|
|
|
server_name victorina.inno-js.ru;
|
|
|
|
|
|
|
|
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
|
|
|
|
|
|
|
root /home/ijl/ijl/apps/petrus/dist;
|
|
|
|
|
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
try_files $uri $uri/ /index.html;
|
|
|
|
}
|
|
|
|
}
|
2021-10-31 15:47:20 +03:00
|
|
|
|
|
|
|
# server {
|
|
|
|
# listen 80;
|
|
|
|
# index index.html;
|
2022-01-10 22:35:33 +03:00
|
|
|
# server_name alinakhaff.inno-js.ru;
|
2021-10-31 15:47:20 +03:00
|
|
|
# root /home/ijl/ijl/apps/alinakhaff;
|
2021-10-31 15:52:12 +03:00
|
|
|
# }
|