all.inno-js.ru
This commit is contained in:
parent
041213f4c4
commit
54e869d982
51
443.conf
51
443.conf
@ -36,30 +36,6 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443 ssl http2;
|
|
||||||
listen [::]:443 ssl http2;
|
|
||||||
|
|
||||||
server_name b1.inno-js.ru b2.inno-js.ru mentor.inno-js.ru service.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 "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';
|
|
||||||
proxy_pass http://212.193.59.173:8046/;
|
|
||||||
# proxy_pass http://212.193.63.122:8079/;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# server {
|
# server {
|
||||||
# # listen 80;
|
# # listen 80;
|
||||||
# listen 443 ssl http2;
|
# listen 443 ssl http2;
|
||||||
@ -147,12 +123,37 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
|
# server_name b1.inno-js.ru b2.inno-js.ru mentor.inno-js.ru service.inno-js.ru;
|
||||||
|
server_name *.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 "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';
|
||||||
|
proxy_pass http://212.193.59.173:8046/;
|
||||||
|
# proxy_pass http://212.193.63.122:8079/;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
# listen 80;
|
# listen 80;
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
server_name ^inno-js\.ru$;
|
server_name inno-js\.ru$;
|
||||||
index index.php index.html index.htm index.nginx-debian.html;
|
index index.php index.html index.htm index.nginx-debian.html;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
||||||
|
Loading…
Reference in New Issue
Block a user