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

9 lines
260 B
TOML

[http.middlewares.httpsRedirect.redirectScheme]
scheme = "https"
permanent = true
[http.middlewares.corsAll.headers]
AccessControlAllowMethods= ["GET", "OPTIONS", "PUT"]
AccessControlAllowOrigin = "*"
AccessControlMaxAge = 100
AddVaryHeader = true