subutai-io / snap

Required files to build SS snap package using snapcraft tool
1 stars 8 forks source link

Make nginx more patient to upstream, also use IP address as backup #276

Closed happyaron closed 6 years ago

happyaron commented 6 years ago

This PR does the following thing in hope to mitigate subutai-io/snap#272

  1. Setup dedicated upstream block in nginx.conf for ubuntu-archive and ubuntu-security
  2. Increases max_fails for every upstream domain
  3. Fallback to IP addresses when all previous servers are marked as failed.