Reputation: 61
Help needed in configuring traefik using .toml file. The only configuration examples that I was able to find was for cases when used with Docker. Anyone can help?
Upvotes: 5
Views: 18666
Reputation: 234
This section is included in the Basics
section of Traefik's documentation:
https://doc.traefik.io/traefik/middlewares/http/headers/#using-security-headers
You can also see the configuration examples there. They include the settings configuring HSTS headers.
Upvotes: 3
Reputation: 641
For people with STS-issues when using Traefik, please take a look at my findings when using STS with self-signed certificates: How to use STS headers with Traefik when using Docker
Upvotes: 1