From e293b5be988133c04c2611ca6f5b1ab974c8d8f1 Mon Sep 17 00:00:00 2001 From: mh Date: Sun, 21 Oct 2012 14:53:17 +0200 Subject: make status also ipv6 capable --- manifests/munin.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/munin.pp b/manifests/munin.pp index 65f1e20..2073844 100644 --- a/manifests/munin.pp +++ b/manifests/munin.pp @@ -1,7 +1,7 @@ class lighttpd::munin { lighttpd::config::file{'status': content => 'server.modules += ( "mod_status" ) -$HTTP["remoteip"] == "127.0.0.1" { +$HTTP["remoteip"] =~ "^(::ffff:)?127.0.0.1$" { status.status-url = "/server-status" status.config-url = "/server-config" } -- cgit v1.2.3