Url redirect from origin path

Hello everyone, my pfsense uses haproxy with name fqdn and certified e.g. mypfsense.fqdn:3421 .

I would like to know how to use this name for a redirect path . What I would like to get would be : mypfsense.fqdn:3421/serverlan/appmyserver .

Thank you all .