Welcome! Log In Create A New Profile

Advanced

Re: Nginx real_ip module doesn't work in some conditions

Francis Daly
August 28, 2016 04:52AM
On Sun, Aug 28, 2016 at 04:13:23AM -0400, romkaltu wrote:

Hi there,

> Ok so it seams my mistake, everything is fine with this configuration, I

Good that you have it working.

> need extra step in backend to complete my task, as for specific example I
> needed to set option in backend server (litespeed web server) option "Use
> Client IP in Header" I must be accidentally disabled it.

Yes - if what you want is "the back-end is able to identify the IP
address of the client connecting to nginx", you don't need real_ip at all;
you just tell nginx to set a header like X-Forwarded-For, and tell your
backend to believe whatever nginx set in that header.

Cheers,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx real_ip module doesn't work in some conditions

romkaltu August 27, 2016 03:02PM

Re: Nginx real_ip module doesn't work in some conditions

Francis Daly August 27, 2016 07:06PM

Re: Nginx real_ip module doesn't work in some conditions

romkaltu August 28, 2016 04:13AM

Re: Nginx real_ip module doesn't work in some conditions

Francis Daly August 28, 2016 04:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 294
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