Update nginx/server.conf

This commit is contained in:
Minecon724 2025-01-07 16:09:40 +01:00
parent 4f037e78f5
commit ac6cef9f50

View file

@ -4,7 +4,10 @@ server {
listen [::]:443 ssl; listen [::]:443 ssl;
listen [::]:443 quic; listen [::]:443 quic;
server_name <replace>; server_name <domain>;
ssl_certificate /etc/ssl/<domain>/fullchain.pem;
ssl_certificate_key /etc/ssl/<domain>/key.pem;
location / { location / {
proxy_pass http://<replace>; proxy_pass http://<replace>;
@ -13,6 +16,6 @@ server {
} }
location /.well-known/acme-challenge { location /.well-known/acme-challenge {
root /var/www/html/<replace>; root /var/www/html/<domain>;
} }
} }