From c64ab82d595d099de687fcafad4c770ca5f73664 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 9 Jul 2019 10:16:41 +0200 Subject: [PATCH] Make sure to enable `mod_proxy` for lighttpd --- bibliotecha.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bibliotecha.sh b/bibliotecha.sh index 21c7d28..f471978 100755 --- a/bibliotecha.sh +++ b/bibliotecha.sh @@ -262,6 +262,11 @@ function install_webserver { function configure_webserver { echo "Configuring bibliotecha under lighttpd ..." + if ! grep -q mod_proxy /etc/lighttpd/lighttpd.conf; then + echo "" + echo 'server.modules += ("mod_proxy",)' >> /etc/lighttpd/lighttpd.conf + fi + if ! grep -q bibliotecha /etc/lighttpd/lighttpd.conf; then echo "" echo 'include "bibliotecha/bibliotecha.conf"' >> /etc/lighttpd/lighttpd.conf