Skip to content

Instantly share code, notes, and snippets.

@jerzyn
Created March 21, 2014 15:11
Show Gist options
  • Select an option

  • Save jerzyn/9688415 to your computer and use it in GitHub Desktop.

Select an option

Save jerzyn/9688415 to your computer and use it in GitHub Desktop.
Nginx upstream configuration
upstream production_upstream {
server production-environment-url-with-port max_fails=5 fail_timeout=30;
}
upstream sandbox_upstream {
server sandbox-environment-url-with-port max_fails=5 fail_timeout=30;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment