From f9dd57a5319c73e5b84af1f857e85449ef813f1e Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Tue, 30 Jul 2013 18:28:53 -0700 Subject: [PATCH] Adding nginx haproxy health check. --- config/nginx.newsblur.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/nginx.newsblur.conf b/config/nginx.newsblur.conf index 022f2de68..7050bd766 100644 --- a/config/nginx.newsblur.conf +++ b/config/nginx.newsblur.conf @@ -28,6 +28,10 @@ server { return 503; } + location = /_nginxchk { + return 200; + } + error_page 502 @down; location @down { root /srv/newsblur/;