Question about headers in Docker Swarm

When I add a customrequestheader in Docker Swarm, does it add it to the Docker service? It appears only to add it do the FQDN.

       - "traefik.enable=true"
       - "traefik.http.middlewares.orgid.headers.customrequestheaders.X-Scope-OrgID=0"
       - "traefik.http.routers.distributor.middlewares=orgid@docker"
       - "traefik.http.routers.distributor.rule=Host(``)"
       - "traefik.http.routers.distributor.tls=true"
       - ""

I'd like the services in the swarm to use the headers. Trying to replicate the Nginx Cortex Gateway configuration found here

Thanks for joining the community Chewrocca, welcome!

I believe you're not seeing the headers on your internal service because they would need to route their traffic through the traefik proxy for this to work. If you're communicating through your services directly (via the service name), Traefik is not involved in that communication and as such, would not inject headers.