diff --git a/conf/nginx-primaryonly.conf b/conf/nginx-primaryonly.conf index d211166e..80bba128 100644 --- a/conf/nginx-primaryonly.conf +++ b/conf/nginx-primaryonly.conf @@ -1,12 +1,9 @@ # Control Panel - - # Admin assets directory + # 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/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/; rewrite ^/admin/munin$ /admin/munin/ redirect; location /admin/ {