Use labels to set custom HTTP headers in Docker backend #2028
Labels
area/provider/docker
kind/enhancement
a new or improved feature.
priority/P2
need to be fixed in the future
status/5-frozen-due-to-age
Milestone
Do you want to request a feature or report a bug?
Request a feature
What did you do?
Add a label to the Docker container like this:
traefik.frontend.customResponseHeaders=X-Custom-Header: foo; bar
What did you expect to see?
Traefik should use the Header Middleware described in #1236 to serve the application with the desired header.
What did you see instead?
Nothing happens.
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
The text was updated successfully, but these errors were encountered: