Re: nginx: [emerg] host not found in upstream

2020-12-14 Thread Francis Daly
On Mon, Dec 14, 2020 at 06:57:50PM +0530, Praveen Kumar K S wrote: Hi there, > 1. nginx fails to start when an upstream server is down or not being > resolved. "nginx fails to start when an upstream server is down" is not the expected behaviour. "nginx fails to start when an upstream server nam

Re: nginx: [emerg] host not found in upstream

2020-12-14 Thread Praveen Kumar K S
Hello, 1. nginx fails to start when an upstream server is down or not being resolved. 2. I can't use the ipaddress because I'm running all services in docker swarm. So I can only resolve using the service names. 3. Now I get your point. When nginx starts, it should resolve all upstream servers. El

Re: nginx: [emerg] host not found in upstream

2020-12-14 Thread Francis Daly
On Mon, Dec 14, 2020 at 12:45:00PM +0530, Praveen Kumar K S wrote: Hi there, > I'm facing issue where if one of the upstream servers is down, nginx going > to emerg mode with the subjected error. Generally, nginx does not care if individual IP:ports defined in an "upstream" are accessible or not