Re: how to preserve remote_host/addr when using proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: how to preserve remote_host/addr when using proxy
Hello Yong,

As far as I remember, in these cases, you have the X-Forwarded-For: header, which contains the original host, if this solution is good for you...

Rgds,
Gergely

Yong Liang írta:

Hi all,

We're using a reverse proxy to redirect access to java servlets listening on port 9080. The problem is all http requests received by servlets have remote_addr set to 127.0.0.1. Is there a way to configure the proxy to keep the original ip/host when redirecting?

Thanks,
Yong


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux