Skip to content

Test the three different headers for passing the remote user's ip add…

Marek Szuba requested to merge github/fork/lairdm/master into master

Created by: lairdm

…ress in to the client:

REMOTE_ADDR REMOTE_USER HTTP_X_CLUSTER_CLIENT_IP

Not the cleanest method, using a global variable, but forcing the header name in to the pseudo-middleware used to hack the headers doesn't work without deriving fully from the Middleware class.

Merge request reports