I noticed in the 1.2.1 changelog that set_real_ip_from is supposed to support IPv6 addresses. Unfortunaly I get a configuration error when I try it. This works fine: set_real_ip_from 127.0.0.1; real_ip_header X-Forwarded-For; This fails: set_real_ip_from 127.0.0.1; set_real_ip_from ::1; real_ip_header X-Forwarded-For; $ nginx -t nginx: invalid parameter "::1" in nginx.cby dakrer - Nginx Mailing List - English