bundles/nginx: ensure we're doing letsencrypt, since we're enforcing ssl
This commit is contained in:
parent
54467af6f5
commit
3523edbcb4
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue