This commit is contained in:
mwiegand 2021-07-12 23:18:28 +02:00
parent 5999a3ff2a
commit bb6146a6db
2 changed files with 8 additions and 0 deletions

View file

@ -2,5 +2,9 @@ server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ${server_name};
ssl_certificate /var/lib/dehydrated/certs/${server_name}/fullchain.pem;
ssl_certificate_key /var/lib/dehydrated/certs/${server_name}/privkey.pem;
root ${root};
}

View file

@ -2,5 +2,9 @@ server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ${server_name};
ssl_certificate /var/lib/dehydrated/certs/${server_name}/fullchain.pem;
ssl_certificate_key /var/lib/dehydrated/certs/${server_name}/privkey.pem;
return 302 ${target};
}