]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- limit access only to localhost
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 17 Jul 2006 12:08:22 +0000 (12:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-mod_status.conf -> 1.3

lighttpd-mod_status.conf

index ab64104f28cc257647e091f2bb569411584e5b00..324ba00fd9e547c873cf613269c3233f5e0a9634 100644 (file)
@@ -6,3 +6,10 @@ server.modules += (
 status.status-url = "/server-status"
 status.config-url = "/server-config"
 status.statistics-url = "/server-stats"
+
+# limit access only to localhost
+$HTTP["url"] =~ "^/server-(?status|config|stats)" {
+    $HTTP["remoteip"] != "127.0.0.1" {
+        url.access-deny = ( "" )
+    }
+}
This page took 0.048001 seconds and 4 git commands to generate.