From 18f1689f45cf51bea67cd93eb4ad28acb7f47918 Mon Sep 17 00:00:00 2001 From: Git Repository Date: Tue, 23 May 2017 16:22:53 -0700 Subject: [PATCH] changed the location we store the web-assets for the admin pages to /usr/local/mailinabox (#1179) --- conf/nginx-primaryonly.conf | 3 +++ management/templates/index.html | 8 ++++---- setup/management.sh | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/conf/nginx-primaryonly.conf b/conf/nginx-primaryonly.conf index da41cec9..6a7f7d88 100644 --- a/conf/nginx-primaryonly.conf +++ b/conf/nginx-primaryonly.conf @@ -1,6 +1,9 @@ # Control Panel # Proxy /admin to our Python based control panel daemon. It is # listening on IPv4 only so use an IP address and not 'localhost'. + location /admin/assets { + alias /usr/local/lib/mailinabox/vendor/assets; + } rewrite ^/admin$ /admin/; rewrite ^/admin/munin$ /admin/munin/ redirect; location /admin/ { diff --git a/management/templates/index.html b/management/templates/index.html index 15531c7d..29d1f74a 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -9,7 +9,7 @@ - + - + @@ -191,8 +191,8 @@ - - + +