help with X-Forwarded-For with IDPv3.3.1 and jetty 9.3.16

Cantor, Scott cantor.2 at osu.edu
Wed Mar 22 11:05:07 EDT 2017


> In jetty.xml in my JETTY_HOME/etc/ (might work in JETTY_BASE but didn't try) I added the below code in the httpConfig block:

You never change any file in jetty-home.

> In HAProxy, which I am using as my load balancer, I added "http-request del-header X-Forwarded-For" to the frontend block, so
> someone on the outside cannot spoof that header. Also make sure to put "option forwardfor" in your backend, so you get the
> X-Forwarded-For header passed on.

I think there would be a lot of interest in how you configured HAProxy in the wiki in a HowTo.

-- Scott




More information about the users mailing list