Does url resolve support ipv6?

Maxim Dounin mdounin at
Mon Feb 21 15:05:44 MSK 2011


On Mon, Feb 21, 2011 at 02:46:30AM -0500, speedfirst wrote:

> I have several upstream servers, which are configured like this:
> upstream backend {
>   ip_hash;
>   server;
>   server;
>   server  down;
>   server;
> }
> each server has ONLY IPv6 address. But seems nginx can't parse it to
> that address, and report an error like this "[error] host not found".
> Is this a bug or meant not to be supported yet?

IPv6 currently only supported in listen directive.  That is, there 
is more than one issue when trying to proxy to IPv6 addresses.

Maxim Dounin

More information about the nginx mailing list