Adding nginx haproxy health check.

This commit is contained in:
Samuel Clay 2013-07-30 18:28:53 -07:00
parent c286c0ed91
commit f9dd57a531

View file

@ -28,6 +28,10 @@ server {
return 503; return 503;
} }
location = /_nginxchk {
return 200;
}
error_page 502 @down; error_page 502 @down;
location @down { location @down {
root /srv/newsblur/; root /srv/newsblur/;