Looks nice now

This commit is contained in:
Sergei Poljanski 2023-08-03 00:00:27 +03:00
commit c930c040af
11 changed files with 97 additions and 189 deletions

21
sites-available/uptime Normal file
View file

@ -0,0 +1,21 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name uptime.asxp.io www.uptime.asxp.io;
location / {
proxy_pass http://localhost:3001/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
ssl_certificate /etc/letsencrypt/live/asxp.io/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/asxp.io/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
}