add git.inno...

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-03-22 12:55:55 +03:00
parent 965c831313
commit 1c0441eb4b

View File

@ -55,11 +55,36 @@ 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/;
}
}
server {
# listen 80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name git.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 / {
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://85.143.175.152:3000/;
# proxy_pass http://35.193.122.195/;
}
}
server {
# listen 80;
listen 443 ssl http2;
@ -74,6 +99,7 @@ server {
include /etc/nginx/snippets/ssl-params.conf;
location / {
proxy_set_header Host $host;
proxy_pass http://212.193.57.252:80/;
}
}