diff --git a/conf/nginx-alldomains.conf b/conf/nginx-alldomains.conf index c6cec6da..1db7606c 100644 --- a/conf/nginx-alldomains.conf +++ b/conf/nginx-alldomains.conf @@ -18,9 +18,7 @@ location = /.well-known/autoconfig/mail/config-v1.1.xml { alias /var/lib/mailinabox/mozilla-autoconfig.xml; } - location /mailinabox { - alias /usr/local/mailinabox; - } + # Roundcube Webmail configuration. rewrite ^/mail$ /mail/ redirect; rewrite ^/mail/$ /mail/index.php; diff --git a/conf/nginx-primaryonly.conf b/conf/nginx-primaryonly.conf index da41cec9..d211166e 100644 --- a/conf/nginx-primaryonly.conf +++ b/conf/nginx-primaryonly.conf @@ -1,4 +1,10 @@ # Control Panel + + # Admin assets directory + location /admin/assets { + alias /usr/local/mailinabox/vendor/assets; + } + # Proxy /admin to our Python based control panel daemon. It is # listening on IPv4 only so use an IP address and not 'localhost'. rewrite ^/admin$ /admin/; diff --git a/management/templates/index.html b/management/templates/index.html index 16cedbde..29d1f74a 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -9,7 +9,7 @@ - + - +
@@ -191,8 +191,8 @@ - - + +