FreedomBox/setup.d/86_plinth
Nick Daly 51e3af611b Moved Apache configuration to Plinth setup script.
James added the Apache Headers module to the makefile, but not the
FreedomBox-Setup configuration script.  However, it's ridiculous to
have multiple locations for that same logic, so now the makefile uses
the setup script for the Apache configuration instead.

Also, the modules are now fancy and alphabetized.
2013-12-08 11:37:15 -06:00

17 lines
299 B
Bash
Executable File

#!/bin/sh
#
# Enable Apache modules required for Plinth.
echo "Configuring Apache for Plinth..."
make-ssl-cert generate-default-snakeoil
a2enmod headers
a2enmod proxy
a2enmod proxy_http
a2enmod rewrite
a2enmod ssl
a2dissite default
a2ensite plinth.conf
echo "Done configuring Apache for Plinth."