summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-06 20:09:13 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-06 20:09:13 -0300
commit3b3bae7df049a2009a39cd46c5107e78d4b8bddd (patch)
tree4bd789a522c9df9c6dd83815bef1d7b77061a9b2
parent9e9b935892acc2f2f3e2f78f0c9485991517b901 (diff)
downloadpuppet-nginx-3b3bae7df049a2009a39cd46c5107e78d4b8bddd.tar.gz
puppet-nginx-3b3bae7df049a2009a39cd46c5107e78d4b8bddd.tar.bz2
Adding status location for munin plugins
-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