Ipv6 support for upstream server

Hello,

is IPv6 supported for upstream servers? I try to setup an ipv4 to ipv6
proxy:

I configured it like this:

server {
listen 188.40.110.21:80;
server_name foobar.de.ip4.zu-con.org;

 location / {
   proxy_pass http://[20a1:and:so:on::1]:80;
   proxy_set_header Host foobar.de;
   proxy_set_header X-Forwarded-For $remote_addr;
 }

}

and the variation:

server {
listen 188.40.110.21:80;
server_name foobar.de.ip4.zu-con.org;

 location / {
   proxy_pass http://foobar.de:80; #foobar.de has just a AAAA record
   proxy_set_header Host foobar.de;
   proxy_set_header X-Forwarded-For $remote_addr;
 }

}

and also:

upstream _foobar {
server [2000:and:so:on::1]:80;
}

server {
listen 188.40.110.21:80;
server_name foobar.de.ip4.zu-con.org;

 location / {
   proxy_pass http://_foobar;
   proxy_set_header Host foobar.de;
   proxy_set_header X-Forwarded-For $remote_addr;
 }

}

regards,

Matthias

Hello!

On Thu, May 27, 2010 at 11:06:45PM +0200, Matthias R. wrote:

is IPv6 supported for upstream servers? I try to setup an ipv4 to
ipv6 proxy:

No.

Maxim D.