From b23f2a91c7726c5df91b7727abdec02ff2b97028 Mon Sep 17 00:00:00 2001 From: Vincent Date: Mon, 28 Jun 2021 23:32:33 +0200 Subject: [PATCH] Ensure Lighttpd loads `mod_openssl` when `USE_SSL=true` (#56) Fixes #55 --- files/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/entrypoint.sh b/files/entrypoint.sh index 997052e..dd38dd7 100755 --- a/files/entrypoint.sh +++ b/files/entrypoint.sh @@ -87,6 +87,7 @@ if [ -f /firstrun ]; then # Reconfigure lighttpd to use ssl echo "ssl.engine = \"enable\"" >> /etc/lighttpd/lighttpd.conf echo "ssl.pemfile = \"/etc/lighttpd/server.pem\"" >> /etc/lighttpd/lighttpd.conf + sed -i -r '/^server\.modules/s# \)#, "mod_openssl" \)#' /etc/lighttpd/lighttpd.conf fi if [ "$AUTH_METHOD" == "ldap" ]; then