A slight thinko crept in to my original mail; there's a small difference (which does remove a minor complexity) as I've marked below ...
On 4 March 2013 23:58, Jonathan Matthews <[email protected]> wrote: [snip] > -------------------------------------------------------------------------- > location /healthcheck/ { > if (!-f /tmp/flag) { > return 503; > } SHOULD BE: " if (-f /tmp/flag) { return 200; } " [snip] > -------------------------------------------------------------------------- > > Before making the proxy_pass call, check a marker on disk and serve a > (real, not translated to =200) 503 if it exists. SHOULD BE: "... serve a 200 if it exists." I don't think this changes the meat of the problem - it just removes one minor niggle. Any thoughts? -- Jonathan Matthews // Oxford, London, UK http://www.jpluscplusm.com/contact.html _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
