From: Silvio Rhatto Date: Thu, 6 Jun 2013 23:09:13 +0000 (-0300) Subject: Adding status location for munin plugins X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3b3bae7df049a2009a39cd46c5107e78d4b8bddd;p=puppet-nginx.git Adding status location for munin plugins --- 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