diff --git a/Makefile b/Makefile index 81ad532b9..93b8da5e5 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,12 @@ 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 + a2enmod proxy_http + service apache2 restart diff --git a/share/apache2/plinth.conf b/share/apache2/plinth.conf index dff0f7d93..f3054aaaf 100644 --- a/share/apache2/plinth.conf +++ b/share/apache2/plinth.conf @@ -22,7 +22,7 @@ ## Use this rule to hang plinth off of plinth.(servername) ## The DocumentRoot is set by fabric - DocumentRoot /dev/null + DocumentRoot /home/fbx/plinth/static ServerName plinth ServerAlias plinth.* ProxyPreserveHost on diff --git a/templates/base.tmpl b/templates/base.tmpl index 2576605c9..8a162888f 100644 --- a/templates/base.tmpl +++ b/templates/base.tmpl @@ -14,11 +14,11 @@ - + - - - + @@ -102,13 +102,11 @@ - - - +