]> gitweb.fluxo.info Git - puppet-nginx.git/commitdiff
Adding status location for munin plugins
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 6 Jun 2013 23:09:13 +0000 (20:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 6 Jun 2013 23:09:13 +0000 (20:09 -0300)
templates/default.erb

index 6a56a355f5f51f30851b6c5e370f90e31af35b81..5b5b7c65f24eab350d629d1d423deb2194c3811d 100644 (file)
@@ -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