Welcome! Log In Create A New Profile

Advanced

Re: Nginx as Proxy and IP forwarding

March 26, 2010 04:11PM
I see now, i dont think there would be any other work around if you cant install the required scripts to allow iis proper understanding of x-forwarded-for

You could re-write the stack and swap remote_addr for x_forwarded_for but that would probably break more things and its not something that is easily done.

im assuming you require x-forward for proper session/user management? if so, thought about using phpsessid or something similar then match on the unique cookie and handle the connection properly?

If the issue is more of user authentication via real ip then you could use LDAP with nginx and try to authenticate users that way
Subject Author Posted

Nginx as Proxy and IP forwarding

cschiewek March 26, 2010 03:31PM

Re: Nginx as Proxy and IP forwarding

unclepieman March 26, 2010 03:47PM

Re: Nginx as Proxy and IP forwarding

cschiewek March 26, 2010 03:53PM

Re: Nginx as Proxy and IP forwarding

unclepieman March 26, 2010 04:11PM

Re: Nginx as Proxy and IP forwarding

unclepieman March 26, 2010 06:30PM

Re: Nginx as Proxy and IP forwarding

unclepieman March 26, 2010 09:07PM

Re: Nginx as Proxy and IP forwarding

cschiewek March 31, 2010 09:22AM

Re: Nginx as Proxy and IP forwarding

Igor Sysoev March 26, 2010 04:22PM

Re: Nginx as Proxy and IP forwarding

Piotr Sikora March 26, 2010 09:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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