bundles/nginx: ensure we're doing letsencrypt, since we're enforcing ssl

This commit is contained in:
Franzi 2020-06-01 11:16:22 +02:00
parent 54467af6f5
commit 3523edbcb4
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 9 additions and 0 deletions

View file

@ -19,6 +19,10 @@ server {
add_header Strict-Transport-Security "max-age=31104000; preload";
add_header X-Frame-Options "DENY";
location /.well-known/acme-challenge/ {
alias /var/lib/dehydrated/acme-challenges/;
}
% if extras:
<%include file="extras/${node.name}/${domain}" />
% endif