ansible-role-traefik/templates/conf.d/00-default.toml

9 lines
278 B
TOML
Raw Normal View History

2020-11-27 12:39:51 +01:00
[http.middlewares.httpsRedirect.redirectScheme]
scheme = "https"
permanent = true
2020-11-27 12:53:00 +01:00
[http.middlewares.corsAll.headers]
accessControlAllowMethods= ["GET", "OPTIONS", "PUT"]
accessControlAllowOrigin = "origin-list-or-null"
accessControlMaxAge = 100
addVaryHeader = true