-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
Description
Hi everyone,
I am trying to setup a traefik container that redirects all request to localhost:80 automatically to the good container like this :
What did I expect to see?
- When I go to
localhost/<container-name>/hello - Redirect to the container named , so
<container-name>/hello
What did I see instead?
- When I go to
localhost/<container-name>/hello - I am redirected to the
<container-name>/<container-name>/hello
The problem is that the path/<container-name>/hellois keeped so I want to remove/<container-name>
My traefik configuration
## traefik.yml
accessLog: {}
# Docker configuration backend
providers:
docker:
defaultRule: "PathPrefix(`/{{ .Name }}`)"
# API and dashboard configuration
api:
debug: true
insecure: trueSomeone have an idea, how to do that ?
Reactions are currently unavailable