Make sure to enable mod_proxy for lighttpd

This commit is contained in:
Luke Murphy 2019-07-09 10:16:41 +02:00
parent d48de3faf5
commit c64ab82d59
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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