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.
labels:
- "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(`distributor.my.domain`)"
- "traefik.http.routers.distributor.tls=true"
- "traefik.http.services.distributor.loadbalancer.server.port=9009"
I'd like the services in the swarm to use the headers. Trying to replicate the Nginx Cortex Gateway configuration found here https://github.com/cortexproject/cortex/blob/master/k8s/nginx-config.yaml