forked from Ivasoft/traefik
Rework access control origin configuration
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user