From de2e50d9712711afca1ba7df98738142e2c32a42 Mon Sep 17 00:00:00 2001 From: Git Repository Date: Mon, 22 May 2017 10:11:28 -0700 Subject: [PATCH] Moved the alias to line 4 --- conf/nginx-primaryonly.conf | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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/ {