bundles/nginx: default vhost always supports letsencrypt

This commit is contained in:
Franzi 2021-05-24 19:19:10 +02:00
parent c395438a41
commit 3468b719ed
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -3,6 +3,10 @@ server {
listen [::]:80 default_server; listen [::]:80 default_server;
server_name _; server_name _;
location /.well-known/acme-challenge/ {
alias /var/lib/dehydrated/acme-challenges/;
}
location / { location / {
return 404; return 404;
} }