You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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:
start nginx after domain name can be resolved, e.g. we started dnsmasq successfully
increase nginx's retries
specify a special resolver to nginx, and let it resolve to something static if failed to get it in upstream
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:
The text was updated successfully, but these errors were encountered: