From 69c1a5ee0ee79fd0e74d89a9f74dafa70a57b4f1 Mon Sep 17 00:00:00 2001 From: Visnetje Date: Sun, 30 May 2021 23:10:26 +0200 Subject: [PATCH] Ensure Lighttpd loads `mod_openssl` when `USE_SSL=true` 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