Forward Host header

I'm trying to replicate this part of a nginx config:

    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;

The first two parts seem to be default in traefik, but I cannot seem to find a way to forward the host header.

Hello @LostKobrakai,

Traefik does not currently support modification of the Host header. It interferes with how the proxy works in dynamic configuration settings.

Are there plans to support that at a later time or is that something, which is never going to happen? Often backends just need the Host header to be set for things like url generation in markup to work properly.

The header X-Forwarded-Host can be used then: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host