Welcome! Log In Create A New Profile


IPv6 fails for set_real_ip_from in 1.2.1

June 11, 2012 08:59AM
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:
real_ip_header X-Forwarded-For;

This fails:
set_real_ip_from ::1;
real_ip_header X-Forwarded-For;

$ nginx -t
nginx: [emerg] invalid parameter "::1" in nginx.conf:22
nginx: configuration file nginx.conf test failed
Subject Author Posted

IPv6 fails for set_real_ip_from in 1.2.1

dakrer June 11, 2012 08:59AM

Re: IPv6 fails for set_real_ip_from in 1.2.1

Ruslan Ermilov June 11, 2012 03:32PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 144
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready