HAProxy can redirect the user to the exact location provided by using the directives below: # Used in the a frontend, listen, or backend section http-request redirect location [code ] [