May 022011
Like many other reverse proxying mechanism, the configuration is quite simple. All we need is just website that’s lived in ipv4, and Nginx with IPv6 capabled network.
server {
listen [::]:80; # your server's public IP address
server_name www.example.com; # your domain name
access_log /var/log/nginx/www.example.com-access.log main;
location / {
proxy_pass http://www.example.com/; # live webiste on IPV4
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;
}
}
One Response to “Nginx As Reverse Proxy IPV6 to IPV4 Website”
Comments (1)
Hello,
For Windows users, there is the Fastream IQ Proxy Server (http://www.iqproxyserver.com) to have a good GUI and many features as nginx offers, with support. Costs fraction of what M$ Forefront costs…
Best Regards,
George