add paste to mdwalters.conf

This commit is contained in:
Max 2024-03-05 17:14:37 +00:00
parent 850b51b2ed
commit d6324c8098

View file

@ -14,3 +14,20 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name paste.max.is-probably.gay;
ssl_certificate /etc/letsencrypt/live/paste.max.is-probably.gay/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/paste.max.is-probably.gay/privkey.pem;
location / {
proxy_pass http://localhost:8820;
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;
}
}