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

11 lines
338 B
TOML

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