fix: corsAll headers
This commit is contained in:
parent
146eec83a2
commit
537f0430f0
|
@ -1,8 +1,10 @@
|
|||
[http.middlewares.httpsRedirect.redirectScheme]
|
||||
scheme = "https"
|
||||
permanent = true
|
||||
|
||||
[http.middlewares.corsAll.headers]
|
||||
accessControlAllowMethods= ["GET", "OPTIONS", "PUT"]
|
||||
accessControlAllowOrigin = "origin-list-or-null"
|
||||
accessControlAllowHeaders = ["*", "authorization"]
|
||||
accessControlAllowMethods= ["GET", "OPTIONS", "POST", "PUT", "DELETE"]
|
||||
accessControlAllowOrigin = "*"
|
||||
accessControlMaxAge = 100
|
||||
addVaryHeader = true
|
||||
|
|
Loading…
Reference in New Issue