Moving to Hetzner

This commit is contained in:
me@asxp.io 2023-08-21 01:50:56 +02:00
commit 202c24341b
12 changed files with 128 additions and 14 deletions

View file

@ -1,11 +1,11 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
#listen [::]:443 ssl http2;
server_name uptime.asxp.io www.uptime.asxp.io;
location / {
proxy_pass http://localhost:3001/;
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;
@ -16,6 +16,6 @@ location / {
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;
#include /etc/letsencrypt/options-ssl-nginx.conf;
#ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
}