mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
18 lines
324 B
Bash
Executable File
18 lines
324 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
|
|
a2ensite plinth-ssl.conf
|
|
|
|
echo "Done configuring Apache for Plinth."
|