listen on IPs but do not fail if one is absent - ?

Maxim Dounin mdounin at
Sat Feb 12 13:28:01 UTC 2022


On Sat, Feb 12, 2022 at 10:11:25AM +0000, lejeczek via nginx wrote:

> having multiple 'listen' with IPs or, just one 'listen' with a hostname 
> which resolves to more than one IP - is it possible to tell Nginx not 
> fail when one of IPs is absent, does not exist?

nginx won't fail if it also listens on * with the same port (as it 
won't actually try to listen on the particular IP addresses in 
this case, see the description of the "bind" parameter at

Maxim Dounin

More information about the nginx mailing list