Using IPv6 wildcard address in server_name

Francis Daly francis at
Fri Aug 6 16:25:11 UTC 2021

On Wed, Aug 04, 2021 at 11:53:06AM -0400, mumu wrote:

Hi there,

> Hi, there is wildcard support for name-based virtual hosts. Is there
> anything similar for IP-based virtual host with IPv4/IPv6 addresses ?

Does the "default_server" option on the "listen" directive do what you want?

If not, could you explain in more detail what it is that you want?


Francis Daly        francis at

More information about the nginx mailing list