Browse Source

Make sure to enable `mod_proxy` for lighttpd

master
Luke Murphy 5 years ago
parent
commit
c64ab82d59
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 5
      bibliotecha.sh

5
bibliotecha.sh

@ -262,6 +262,11 @@ function install_webserver {
function configure_webserver { function configure_webserver {
echo "Configuring bibliotecha under lighttpd ..." 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 if ! grep -q bibliotecha /etc/lighttpd/lighttpd.conf; then
echo "" echo ""
echo 'include "bibliotecha/bibliotecha.conf"' >> /etc/lighttpd/lighttpd.conf echo 'include "bibliotecha/bibliotecha.conf"' >> /etc/lighttpd/lighttpd.conf

Loading…
Cancel
Save