From 2c90c267bd26061ffdabf19171b5b0825612f9fc Mon Sep 17 00:00:00 2001 From: bizonix Date: Sun, 7 Jun 2015 21:50:41 +0300 Subject: [PATCH] fix loop redirecting server is redirecting the request for this address in a way that will never complete --- conf/nginx-primaryonly.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx-primaryonly.conf b/conf/nginx-primaryonly.conf index 3826211..c462b22 100644 --- a/conf/nginx-primaryonly.conf +++ b/conf/nginx-primaryonly.conf @@ -2,7 +2,7 @@ # 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; + rewrite ^/admin/munin$ /admin/munin/ redirect; location /admin/ { proxy_pass http://127.0.0.1:10222/; proxy_set_header X-Forwarded-For $remote_addr;