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:
Nick Daly 2013-10-18 16:52:40 -05:00
parent da7bd50a09
commit ee5609a2e3

View File

@ -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