IPv6 support for reverse proxy

Simon Cornelius P. Umacob soulfury at simoncpu.com
Tue Jan 31 11:41:04 UTC 2012


Hi,

Can we use nginx to act as a reverse proxy for IPv6 servers?

i.e.,

server {
        listen [::]:80;
        listen 80;
        server_name  kame-experiment.net *.kame-experiment.net;

        location / {
                proxy_pass
http://[2001:200:dff:fff1:216:3eff:feb1:44d7];
                proxy_redirect     off;
                proxy_set_header   Host             $host;
                proxy_set_header   X-Real-IP        $remote_addr;
                proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;

        }
}


Thanks,

[ simon.cpu ]



More information about the nginx mailing list