more 443
This commit is contained in:
parent
6cef398b21
commit
9549b28965
77
80.conf
77
80.conf
@ -1,23 +1,30 @@
|
|||||||
server {
|
# server {
|
||||||
listen 80;
|
# listen 80;
|
||||||
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;
|
||||||
|
|
||||||
include "parts/api-multystub.conf";
|
# include "parts/api-multystub.conf";
|
||||||
|
|
||||||
location / {
|
# location / {
|
||||||
add_header 'Access-Control-Allow-Origin' '*';
|
# add_header 'Access-Control-Allow-Origin' '*';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
# 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-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';
|
# add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
|
||||||
proxy_pass http://212.193.59.173:8079/;
|
# proxy_pass http://212.193.59.173:8079/;
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
# listen 80;
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
server_name b1.inno-js.ru;
|
server_name b1.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 "parts/api-multystub.conf";
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
@ -30,9 +37,16 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
# listen 80;
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
server_name b2.inno-js.ru;
|
server_name b2.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 "parts/api-multystub.conf";
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
@ -45,8 +59,16 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
# listen 80;
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
server_name static.inno-js.ru;
|
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;
|
||||||
|
|
||||||
set $appsRoot "/home/ijl/ijl/apps";
|
set $appsRoot "/home/ijl/ijl/apps";
|
||||||
root $appsRoot;
|
root $appsRoot;
|
||||||
|
|
||||||
@ -60,22 +82,29 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
# listen 80;
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
server_name old.admin.inno-js.ru;
|
server_name old.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;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://admin/;
|
proxy_pass http://admin/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
# server {
|
||||||
listen 80;
|
# listen 80;
|
||||||
server_name admin.inno-js.ru;
|
# server_name admin.inno-js.ru;
|
||||||
|
|
||||||
location / {
|
# location / {
|
||||||
proxy_pass http://212.193.59.173:3072;
|
# proxy_pass http://212.193.59.173:3072;
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
Loading…
Reference in New Issue
Block a user