[keycloak-dev] Keycloak and HAProxy
thomas.darimont at googlemail.com
Fri Aug 4 05:14:13 EDT 2017
a while ago I built a demo-system with Keycloak running behind a ha-proxy
Maybe this helps you a bit.
2017-08-04 7:09 GMT+02:00 Shankar_Bhaskaran <Shankar_Bhaskaran at infosys.com>:
> Hi ,
> We have configured HAProxy as our load balancer and keycloak (3.0) as our
> SSO. We have configured the keycloak domain and secured our wars with
> keycloak for our web application.
> In Haproxy we have provided the "forwardfor" option which introduces the
> header parameter -"X-Forwarded-For" and configured keycloak as given below
> to accept the header parameter as given below.
> "<http-listener name="default" socket-binding="http"
> redirect-socket="https" proxy-address-forwarding="true"/>"
> But still the redirect from keycloak is going to HAProxy machine and not
> to backend servers with our webapp.
> Is there any help you can provide here
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
More information about the keycloak-dev