Skip to content

Problem with setting up Traefik Middleware #303

Closed Answered by acouvreur
Cloufish asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Cloufish !

You were very close of acheiving what you wanted!

it looks like you're just missing the actual middleware on your route.

While looking at the current documentation I can understand why it's confusing, the documentation is not showing the whole configuration.

I will fix that soon.

In the meantime, you can always check e2e tests that are located on the folder e2e of each plugin.

For traefik it will be plugins/traefik/e2e/<provider> (in your case docker_swarm).

See: https://github.com/acouvreur/sablier/tree/main/plugins/traefik/e2e/docker_swarm


Now to the solution:

Because you've setup you're middleware from the file provider, you can add the following deploy label to your…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by acouvreur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants