Configuration proxy for a specific application

Hello,

Running behind haproxy, I’m tring to protect an application on my local network. Here is a schema of my network conf.

Sorry if its not obvious

I am trying to protect the app and redirect to a login if the user is not identified when the accessing at the app url… I am using ldap as user federation.

I am redirected on the Welcome to Keycloak page when I try the app url, which mean keycloak doesnt go on the desired ports for this specific application.

Any ideas on how to specify specifics proxy ports for the application only ?
(I tried specifying https proxy for hostname in start command and in env variable for the app hostname)

cheers

I also tried this --spi-connections-http-client-default-proxy-mappings=“‘*\.(applicationhostname)\.fr;https://10.0.0.50:9443’”