From cf3aa867ab5c27a7cf88310816efd679d5483338 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 30 Jun 2015 12:12:55 -0400 Subject: [PATCH] Don't log `/srv/status` --- config/nginx.sample.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index 5e436fcf24c..7daa8a37524 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -90,6 +90,13 @@ server { add_header Access-Control-Allow-Origin *; } + location = /srv/status { + access_log off; + log_not_found off; + proxy_pass http://discourse; + break; + } + location ~ ^/assets/ { expires 1y; # asset pipeline enables this