apache: New module to manage Apache configuration

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2017-09-01 20:04:07 -04:00
1 parent 07c062aef3
commit 602ea6cf16
6 files changed
+159 -16

No files matched your search

+1
View File
@@ -0,0 +1 @@
plinth.modules.apache
-16
View File
@@ -18,21 +18,5 @@
set -e
# 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
a2enconf javascript-common
a2ensite plinth.conf
a2ensite plinth-ssl.conf
echo "Done configuring Apache for Plinth."
# Ensure that DB and log file permissions are correct
chown -R plinth: /var/lib/plinth /var/log/plinth