On Sat, 03 Nov 2012 11:43:02 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:
Am 03.11.2012 11:13, schrieb Nick Sabalausky:
Dumb question: Is HttpServerRequest.peer the client's IP or
something else? If something else, is there a way to get the
client's IP?Yes, it's the direct client IP (i.e. it does not query
X-Forwarded-For
if behind a reverse proxy).
I see. I wasn't aware of X-Forwarded-For: I can see that's an
"X-..." header, but is it reasonably common among reverse proxies?