mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Configure Apache correctly when installing Plinth.
Apache configuration was missing a few modules, and the server needs to be restarted after those modules are enabled. Also, the server needs to be reloaded after the Plinth site is enabled.
This commit is contained in:
parent
da7bd50a09
commit
ee5609a2e3
4
Makefile
4
Makefile
@ -97,7 +97,11 @@ apache-install:
|
||||
install -D -m644 share/apache2/plinth.conf $(DESTDIR)/etc/apache2/sites-available/plinth.conf
|
||||
apache-config: apache-install apache-ssl
|
||||
a2ensite plinth
|
||||
service apache2 reload
|
||||
|
||||
apache-ssl:
|
||||
make-ssl-cert generate-default-snakeoil
|
||||
a2enmod ssl
|
||||
a2enmod rewrite
|
||||
a2enmod proxy
|
||||
service apache2 restart
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user