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

11 lines
338 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 14:47:45 +01:00
2020-11-27 12:53:00 +01:00
[http.middlewares.corsAll.headers]
2020-11-27 14:47:45 +01:00
accessControlAllowHeaders = ["*", "authorization"]
accessControlAllowMethods= ["GET", "OPTIONS", "POST", "PUT", "DELETE"]
accessControlAllowOriginList = ["*"]
accessControlMaxAge = 100
addVaryHeader = true