changed the location we store the web-assets for the admin pages to /usr/local/mailinabox (#1179)

This commit is contained in:
Git Repository
2017-05-23 19:22:53 -04:00
committed by Joshua Tauberer
parent 8234a5a9f4
commit 18f1689f45
3 changed files with 8 additions and 5 deletions
+3
View File
@@ -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/ {