2022-09-14 18:01:55 +03:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name hub.inno-js.ru;
|
|
|
|
|
2022-09-14 18:04:25 +03:00
|
|
|
ssl_certificate /etc/letsencrypt/live/hub.inno-js.ru/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/hub.inno-js.ru/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/hub.inno-js.ru/chain.pem;
|
2022-09-14 18:01:55 +03:00
|
|
|
|
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
|
|
|
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://85.143.175.152:10880/;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-04 17:21:52 +03:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name devops.inno-js.ru;
|
|
|
|
|
|
|
|
ssl_certificate /etc/letsencrypt/live/hub.inno-js.ru/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/hub.inno-js.ru/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/hub.inno-js.ru/chain.pem;
|
|
|
|
|
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://212.193.57.252:80/;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-17 20:23:29 +03:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
2024-02-19 13:38:28 +03:00
|
|
|
server_name b1.inno-js.ru b2.inno-js.ru mentor.inno-js.ru service.inno-js.ru;
|
2022-02-17 20:23:29 +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;
|
2024-02-19 13:38:28 +03:00
|
|
|
|
2022-02-17 20:23:29 +03:00
|
|
|
include "parts/api-multystub.conf";
|
|
|
|
|
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
|
|
|
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';
|
2024-02-19 13:38:28 +03:00
|
|
|
proxy_pass http://212.193.59.173:8046/;
|
|
|
|
# proxy_pass http://212.193.63.122:8079/;
|
2022-02-17 20:23:29 +03:00
|
|
|
}
|
|
|
|
}
|
2023-11-21 20:29:52 +03:00
|
|
|
|
2024-02-19 13:38:28 +03:00
|
|
|
# server {
|
|
|
|
# # listen 80;
|
|
|
|
# listen 443 ssl http2;
|
|
|
|
# listen [::]:443 ssl http2;
|
2023-07-27 23:04:33 +03:00
|
|
|
|
2024-02-19 13:38:28 +03:00
|
|
|
# server_name service.inno-js.ru;
|
2023-07-27 23:04:33 +03:00
|
|
|
|
2024-02-19 13:38:28 +03:00
|
|
|
# ssl_certificate /etc/letsencrypt/live/inno-js.ru-0001/fullchain.pem;
|
|
|
|
# ssl_certificate_key /etc/letsencrypt/live/inno-js.ru-0001/privkey.pem;
|
|
|
|
# ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru-0001/chain.pem;
|
2023-07-27 23:04:33 +03:00
|
|
|
|
2024-02-19 13:38:28 +03:00
|
|
|
# # ssl_prefer_server_ciphers on;
|
|
|
|
# ssl_verify_client off;
|
2023-07-27 23:04:33 +03:00
|
|
|
|
2024-02-19 13:38:28 +03:00
|
|
|
# include "parts/api-multystub.conf";
|
2023-07-27 23:04:33 +03:00
|
|
|
|
2024-02-19 13:38:28 +03:00
|
|
|
# include /etc/nginx/snippets/ssl-params.conf;
|
2023-07-27 23:04:33 +03:00
|
|
|
|
2024-02-19 13:38:28 +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.63.122:8079/;
|
|
|
|
# }
|
|
|
|
# }
|
2022-02-17 20:23:29 +03:00
|
|
|
|
|
|
|
server {
|
|
|
|
# listen 80;
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name static.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 / {
|
2022-02-19 17:35:51 +03:00
|
|
|
add_header 'Access-Control-Allow-Origin' '*';
|
2022-02-17 20:23:29 +03:00
|
|
|
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 {
|
|
|
|
# listen 80;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
# listen 80;
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
index index.php index.html index.htm index.nginx-debian.html;
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-17 23:06:28 +03:00
|
|
|
server {
|
|
|
|
# listen 80;
|
|
|
|
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 /etc/nginx/snippets/ssl-params.conf;
|
|
|
|
|
|
|
|
include "parts/api-multystub.conf";
|
|
|
|
|
|
|
|
root "/var/www/html";
|
|
|
|
|
|
|
|
location /project {
|
|
|
|
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/";
|
|
|
|
}
|
|
|
|
|
|
|
|
# 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/;
|
|
|
|
# }
|
2024-02-19 13:38:28 +03:00
|
|
|
}
|