Forum Discussion
JPMarine_163325
Jun 19, 2018Nimbostratus
Thanks for responding. The application once it gets to the DB is getting DB timeouts unable to connect to the DB. Below is a snippit from the NGINX configuration
Set up X-Forwarded headers so that WildFly interprets the client's IP correctly Note that X-Forwarded-For is set to a specific address, rather than adding the address to a list. This prevents an attack whereby a bogus X-Forwarded-For could be supplied in the initial request (overriding the client's real IP). proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
Pass on Host header so that upstream servers see the load balancer
proxy_set_header Host $http_host;
I'm not sure if there's a similar checkbox enabled for the x-forward profile on F5. Just to have an "apples to apples" config. I'll make sure the DB server can accept X-Fwd, but I think that only works for Windows Servers....(I could be wrong). I've just never dealt with two different vendor load balancers in line so to speak in an application.
Thanks,