Feature request: allow for more flexible middlewares #215
Replies: 4 comments
-
Hi, I think you're right this would be easy to implement and useful for some advanced users. What do you think about being able to define them in the config.yml instead of the UI for now? Every resource has an ID which can be easily found in the URL: resources:
2:
middleware: ["geoblock"]
3:
... Let me know what you think. Obviously a slick UI implementation would be best but this would expose the functionality and be quite easy for us to get out there and then improve upon later. |
Beta Was this translation helpful? Give feedback.
-
Oh that also would very usable and ever simpler to implement indeed, Btw it would be up to you guys in how much you want to document this 'temporary' feature, and keeping it backwards compatible when iterating on it and possibly moving it to the frontend. Edit: I realized restarting the Pangolin container (reloading the config) does not interrupt traefik, is that correct? |
Beta Was this translation helpful? Give feedback.
-
Hi! Congrats on the v1 release. Our initial testing is really positive (the DNS resolving being done on the remote machine is awesome). The site specific middleware config is our only blocker atm. Are there any plans on implementing this in any of the coming releases? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Adding my support for this feature. This would be very handy! |
Beta Was this translation helpful? Give feedback.
-
Hi, I'd like the ability to not apply all optional middleware to all sites. There are cases like
ForwardAuth
which will be very site specific. There is no good way to achieve this at the moment. I think this feature would add a great deal of flexibility.Atm I can think of two ways to solve this:
badgerMiddlewareName
name).badgerMiddlewareName
name).The new access control rules cover some of the use-cases (which look super nice btw), but can never really cover the full flexibility of traefik itself (nor should it). For our case, having this missing means I cannot migrate due to some sites special config rules.
Would be great to hear any opinions on this.
Beta Was this translation helpful? Give feedback.
All reactions