IPv6 support in "geo" directive?

pgndev pgnet.dev at gmail.com
Fri Nov 9 16:13:05 UTC 2012

I'm currently running 1.3.8.

IPv6 is now widely deployed by our ISPs, and fully deployed across our

In my nginx.conf, using

  geo $TEST      { default  0;  1;
2001:111:2222:333::4/64  1; }

throws an error,

  nginx: [emerg] "geo" supports IPv4 only in /etc/nginx/nginx.conf:120

Is that still true -- no IPv6 geo support?

Is there a plan for that to change anytime soon?

If not, could we request that be added asap?  We've a lot of conditionals
in our configs that now fail without the IPv6 support.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20121109/13e1a903/attachment.html>

More information about the nginx-devel mailing list