From 2f2fcc6e18b90f27196c47271283cdc0dacb22fd Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 12 Dec 2021 02:01:55 +0100 Subject: [PATCH] Adjust deafault vhost configuration. --- install_nginx.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install_nginx.sh b/install_nginx.sh index 4a35549..631602f 100755 --- a/install_nginx.sh +++ b/install_nginx.sh @@ -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