From: Tom Hughes Date: Mon, 20 Apr 2009 20:14:05 +0000 (+0000) Subject: Give munin access to some statistics. X-Git-Tag: live~7532 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/73a0953627705540b4ef2124a0be5926395eabd1?hp=df8cd4a7b2c364864aad0e4d9f56c1a4f4f0e990 Give munin access to some statistics. --- diff --git a/config/nginx.conf b/config/nginx.conf index a78e1dc70..3fdf72f1a 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -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; + } } }