Open dilshat opened 6 years ago
This happens like a race condition: when nginx starts, it tries to validate the configuration, but at the same time network might be not ready on certain situations - which makes nginx dies thinking the configured upstream is wrong. We have several ways to make this work:
@happyaron we need to try to use newer version of nginx to allow the changes described above. Please conduct tests with newer nginx version and snap,
Ack
Team Infra also think Nginx should be updated to latest version.
Error log
2018/02/24 18:04:07 [emerg] 2044#2044: host not found in upstream "archive.ubuntu.com" in /snap/subutai-master/current/etc/nginx/nginx.conf:54
Mentioned config excerpt: