Compare commits
6 Commits
feature/in
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| b9a7b392d0 | |||
| a538743f67 | |||
| 7f7d7035e6 | |||
| 1c0441eb4b | |||
| 965c831313 | |||
| 923d50054b |
203
443.conf
203
443.conf
@@ -1,4 +1,44 @@
|
||||
# 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 80;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
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 /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_set_header Host $host;
|
||||
proxy_pass http://212.193.59.173:8046/;
|
||||
# proxy_pass http://35.193.122.195/;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
# listen 80;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
@@ -15,7 +55,9 @@ server {
|
||||
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_set_header Host $host;
|
||||
proxy_pass http://85.143.175.152:10880/;
|
||||
# proxy_pass http://35.193.122.195/;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +65,35 @@ server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name git.inno-js.ru;
|
||||
|
||||
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;
|
||||
|
||||
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_set_header Connection $http_connection;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_pass http://85.143.175.152:3000/;
|
||||
# proxy_pass http://35.193.122.195/;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
# listen 80;
|
||||
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;
|
||||
@@ -32,36 +103,93 @@ server {
|
||||
include /etc/nginx/snippets/ssl-params.conf;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://212.193.57.252:80/;
|
||||
}
|
||||
}
|
||||
|
||||
# server {
|
||||
# # listen 80;
|
||||
# listen 443 ssl http2;
|
||||
# listen [::]:443 ssl http2;
|
||||
server {
|
||||
# listen 80;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
# server_name service.inno-js.ru;
|
||||
server_name b2.inno-js.ru;
|
||||
|
||||
# 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;
|
||||
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;
|
||||
|
||||
# # ssl_prefer_server_ciphers on;
|
||||
# ssl_verify_client off;
|
||||
# ssl_prefer_server_ciphers on;
|
||||
ssl_verify_client off;
|
||||
|
||||
# include "parts/api-multystub.conf";
|
||||
include "parts/api-multystub.conf";
|
||||
|
||||
# include /etc/nginx/snippets/ssl-params.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.63.122:8079/;
|
||||
# }
|
||||
# }
|
||||
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_set_header Host $host;
|
||||
proxy_pass http://212.193.59.173:8046/;
|
||||
}
|
||||
}
|
||||
server {
|
||||
# listen 80;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name mentor.inno-js.ru;
|
||||
|
||||
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;
|
||||
|
||||
# ssl_prefer_server_ciphers on;
|
||||
ssl_verify_client off;
|
||||
|
||||
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_set_header Host $host;
|
||||
}
|
||||
}
|
||||
server {
|
||||
# listen 80;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name service.inno-js.ru;
|
||||
|
||||
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;
|
||||
|
||||
# ssl_prefer_server_ciphers on;
|
||||
ssl_verify_client off;
|
||||
|
||||
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_set_header Host $host;
|
||||
proxy_pass http://212.193.59.173:8046/;
|
||||
# proxy_pass http://212.193.63.122:8079/;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
# listen 80;
|
||||
@@ -85,6 +213,7 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
# listen 80;
|
||||
listen 443 ssl http2;
|
||||
@@ -123,37 +252,19 @@ 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 {
|
||||
# listen 80;
|
||||
# index index.html;
|
||||
# server_name alinakhaff.inno-js.ru;
|
||||
# root /home/ijl/ijl/apps/alinakhaff;
|
||||
# }
|
||||
|
||||
server {
|
||||
# listen 80;
|
||||
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;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
||||
@@ -180,4 +291,4 @@ server {
|
||||
# add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
|
||||
# proxy_pass http://212.193.59.173:8079/;
|
||||
# }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user