mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
07c062aef3
commit
602ea6cf16
6 files changed
+159
-16
No files matched your search
@@ -0,0 +1 @@
|
||||
plinth.modules.apache
|
||||
@@ -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
|
||||
Reference in new issue
Block a user