upstream biscotti {
  server 127.0.0.1:<%= node['chef-marketplace']['biscotti']['port'] %>;
}

upstream biscotti {
  # Disable fail_timeout and max_fails accounting for Unicorn.
  # https://git.io/vAzf0
  server 127.0.0.1:<%= node['chef-marketplace']['biscotti']['port'] %> max_fails=0 fail_timeout=0;
}

Disable fail_timeout and max_fails in nginx
Disable fail_timeout and max_fails in nginx

We are seeing issues where biscotti will return with a server side
error before the backend retries can complete. This disables the
fail_timeout and max_fails for the upstream directive to ensure we
always retry an upstream evcen if it failed to return a good HTTP
response in case the unicorn master nukes a single worker for timing
out.

Signed-off-by: Ryan Hass <7a1efea0847aa10fda44596a4a622bd3187d968e@users.noreply.github.com>
