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

Francis Daly francis at
Sat Feb 12 13:26:17 UTC 2022

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

Hi there,

> 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?

I think that stock nginx does not support that.

There are possibly ways to avoid the failure; but they all fundamentally
are different ways to do "only bind to locally-existing addresses".


Francis Daly        francis at

More information about the nginx mailing list