]> git.openstreetmap.org Git - rails.git/commitdiff
Give munin access to some statistics.
authorTom Hughes <tom@compton.nu>
Mon, 20 Apr 2009 20:14:05 +0000 (20:14 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 20 Apr 2009 20:14:05 +0000 (20:14 +0000)
config/nginx.conf

index a78e1dc705312ddb733b91332600e1422098dcca..3fdf72f1a9afb300ff3463d40bf1fbe2459242ab 100644 (file)
@@ -228,5 +228,13 @@ http {
                 text/x-cross-domain-policy xml;
             }
         }
+
+        # Give munin access to some statistics
+        location /server-status {
+            stub_status on;
+            access_log off;
+            allow 127.0.0.1;
+            deny all;
+        }
     }
 }