How to set x-frame-options by default

Hi there,

I'm using Traefik from Docker and I would like to set the x-frame-options by default for all configured Docker containers which are configured to use Traefik. Is there any command option?

Thanks!

Hi @monkiki

You can set default middlewares for an entryPoint. These will be prepended to any additional middlewares you add to a router.

https://doc.traefik.io/traefik/routing/entrypoints/#middlewares