bundles/nginx: default vhost always supports letsencrypt
This commit is contained in:
parent
c395438a41
commit
3468b719ed
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue