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

11 lines
332 B
TOML

[http.middlewares.httpsRedirect.redirectScheme]
scheme = "https"
permanent = true
[http.middlewares.corsAll.headers]
accessControlAllowHeaders = ["*", "authorization"]
accessControlAllowMethods= ["GET", "OPTIONS", "POST", "PUT", "DELETE"]
accessControlAllowOrigin = "*"
accessControlMaxAge = 100
addVaryHeader = true