summaryrefslogtreecommitdiff
path: root/package/lighttpd/files/conf.d/status.conf
diff options
context:
space:
mode:
Diffstat (limited to 'package/lighttpd/files/conf.d/status.conf')
-rw-r--r--package/lighttpd/files/conf.d/status.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/lighttpd/files/conf.d/status.conf b/package/lighttpd/files/conf.d/status.conf
new file mode 100644
index 000000000..946939f49
--- /dev/null
+++ b/package/lighttpd/files/conf.d/status.conf
@@ -0,0 +1,24 @@
+#######################################################################
+##
+## Status Module
+## ---------------
+##
+## see http://www.lighttpd.net/documentation/status.html
+##
+server.modules += ( "mod_status" )
+
+$HTTP["remoteip"] == "127.0.0.0/8" {
+##
+## configure urls for the various parts of the module.
+##
+ status.status-url = "/server-status"
+ status.config-url = "/server-config"
+ status.statistics-url = "/server-statistics"
+##
+## add JavaScript which allows client-side sorting for the connection
+## overview
+##
+ status.enable-sort = "enable"
+}
+##
+#######################################################################