Hi,
On Mon, Dec 13, 2010 at 4:46 PM,<[email protected]> wrote:
i would like to use Cherokee 1.0.13 as Reverse Proxy for my Jetty java
aplication server. Everything working fine, but i would like to log real
client IP address by Jetty. Now i see only Cherokee proxy IP adress as
client IP for every request.
Well, it is possible to rewrite X-Forwarded-For (X-Real-IP) to Client IP
instead of IP address of Cherokee reverse proxy?
Any idea?
Cherokee should be sending "X-Forwared-For" and "X-Real-IP" actually... :-?
I don't know nothing about Jetty, but... could it be a Jetty misconfiguration?
I figure it out by modifying configuration of Jetty logging and prefer
to log real client IP.
http://jetty.codehaus.org/jetty/jetty-6/apidocs/org/mortbay/jetty/NCSARequestLog.html#setPreferProxiedForAddress%28boolean%29
Liquid
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee