mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
This allow us to handle all the Plinth setup in one package. I've added one change from Pere's original commit: we disable Apache's default site. If the default site is enabled, Plinth doesn't load correctly (we get 404 errors).
16 lines
234 B
Bash
Executable File
16 lines
234 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Enable Plinth.
|
|
|
|
echo "Configuring Plinth..."
|
|
|
|
make-ssl-cert generate-default-snakeoil
|
|
a2enmod ssl
|
|
a2enmod rewrite
|
|
a2enmod proxy
|
|
a2enmod proxy_http
|
|
a2dissite default
|
|
a2ensite plinth.conf
|
|
|
|
echo "Done configuring Plinth.."
|