Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#92 closed enhancement (fixed)

The Proxy module doesn't support IPv6 back-ends

Reported by: Mark Schouten Owned by: Ruslan Ermilov
Priority: minor Milestone: 1.3
Component: nginx-module Version: 1.0.x
Keywords: proxy ipv6 Cc:
uname -a: Linux cdn 2.6.32-36-server #79-Ubuntu SMP Tue Nov 8 22:44:38 UTC 2011 x86_64 GNU/Linux
nginx -V: nginx: nginx version: nginx/1.0.10
nginx: built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
nginx: TLS SNI support enabled
nginx: configure arguments: --prefix=/usr --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-http_realip_module --with-http_perl_module --with-ipv6

Description

I've setup Nginx as a reverse proxy for my CDN. However, the proxy-module doesn't use IPv6 at all. Which causes the platform to fail in case of IPv6-only websites or when IPv4 and IPv6 produce different content.

Please implement IPv6 in the proxy-backend. Thanks!

Change History (4)

comment:1 by Maxim Dounin, 13 years ago

Status: newaccepted

comment:2 by Ruslan Ermilov, 12 years ago

Milestone: 1.3
Owner: changed from somebody to Ruslan Ermilov
sensitive: 0
Status: acceptedassigned

IPv6 literals have been supported since 4671/nginx.

comment:3 by Ruslan Ermilov, 12 years ago

Resolution: fixed
Status: assignedclosed

IPv6 support for domain names was implemented in 4972/nginx.

comment:4 by Ruslan Ermilov, 12 years ago

In 4972/nginx:

Implemented IPv6 support for URLs specified using domain names.

This includes "debug_connection", upstreams, "proxy_pass", etc.
(ticket #92)

To preserve compatibility, "listen" specified with a domain name
selects the first IPv4 address, if available. If not available,
the first IPv6 address will be used (ticket #186).

Note: See TracTickets for help on using tickets.