Traefik does not appear to set X-Forwarded headers correctly for forward auth


I'm using forward auth with my own forward auth service. The service I'm protecting is at, and my forward auth service is hosted at Everything is working, except for the X-Forwarded-Host and X-Forwarded-Uri headers being set to, rather than, which means I can't redirect at the end of initial auth. When tested on localhost it appears to set the port correctly.