Rework access control origin configuration

This commit is contained in:
Traefiker Bot
2020-03-05 08:18:04 +01:00
committed by GitHub
parent fb51ebcba6
commit 082fb166a2
14 changed files with 203 additions and 122 deletions

View File

@@ -28,7 +28,7 @@
[http.middlewares]
[http.middlewares.cors.headers]
accessControlAllowMethods= ["GET", "OPTIONS", "PUT"]
accessControlAllowOrigin = "origin-list-or-null"
accessControlAllowOriginList = ["https://foo.bar.org"]
accessControlMaxAge = 100
addVaryHeader = true