Adjust deafault vhost configuration.

This commit is contained in:
Christoph 2021-12-12 02:01:55 +01:00
parent e92b105a59
commit 2f2fcc6e18

View File

@ -300,6 +300,12 @@ server {
server_name _ ;
# Include location directive for Let's Encrypt ACME Challenge
#
# Needed for (automated) updating certificate
#
include snippets/letsencrypt-acme-challenge.conf;
EOF
if [[ $? -ne 0 ]] ; then
_failed=true