mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
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.
17 lines
299 B
Bash
Executable File
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."
|