]> git.openstreetmap.org Git - rails.git/blobdiff - config/nginx.conf
Give munin access to some statistics.
[rails.git] / config / nginx.conf
index a78e1dc705312ddb733b91332600e1422098dcca..3fdf72f1a9afb300ff3463d40bf1fbe2459242ab 100644 (file)
@@ -228,5 +228,13 @@ http {
                 text/x-cross-domain-policy xml;
             }
         }
                 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;
+        }
     }
 }
     }
 }