Welcome! Log In Create A New Profile

Advanced

Does "set_real_ip_from" support IPv4 only?

Usu
October 06, 2011 11:52AM
Hi,

I'm confused, I get this error by entering an IPv6 address in the set_real_ip_from directive:

nginx: [emerg] "set_real_ip_from" supports IPv4 only in /usr/local/nginx/conf/nginx.conf:65

But according to the changelog, that directive should support IPv6 since nginx 0.8.22:

Changes with nginx 0.8.22 03 Nov 2009
[...]
*) Feature: the "set_real_ip_from" directive supports IPv6 addresses in
request headers.
[...]

My nginx version: 1.0.8

Is the changelog referring to something else or is this a bug?

Thank you,
Andrea
Subject Author Posted

Does "set_real_ip_from" support IPv4 only?

Usu October 06, 2011 11:52AM

Re: Does "set_real_ip_from" support IPv4 only?

Maxim Dounin October 06, 2011 12:06PM

Re: Does "set_real_ip_from" support IPv4 only?

Usu October 06, 2011 12:13PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 47
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready