From 3b3bae7df049a2009a39cd46c5107e78d4b8bddd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Jun 2013 20:09:13 -0300 Subject: Adding status location for munin plugins --- templates/default.erb | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3