summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/default.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/default.erb b/templates/default.erb
index 6a56a35..5b5b7c6 100644
--- a/templates/default.erb
+++ b/templates/default.erb
@@ -31,6 +31,13 @@ server {
autoindex on;
}
+ # For munin plugins
+ location /nginx_status {
+ stub_status on;
+ allow 127.0.0.1;
+ deny all;
+ }
+
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html