add devops as subdomain

This commit is contained in:
Primakov Alexandr Alexandrovich 2023-01-04 17:21:52 +03:00
parent 098d69a0b8
commit e751f0f3a9

View File

@ -93,6 +93,24 @@ server {
} }
} }
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;
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/;
}
}
server { server {
# listen 80; # listen 80;
listen 443 ssl http2; listen 443 ssl http2;