Skip to content

Commit

Permalink
Ensure Lighttpd loads mod_openssl when USE_SSL=true (#56)
Browse files Browse the repository at this point in the history
Fixes #55
  • Loading branch information
visnetje authored Jun 28, 2021
1 parent ec68e76 commit b23f2a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b23f2a9

Please sign in to comment.