Maj nextcloud + fix cors
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
frameDeny = true
|
||||
stsIncludeSubdomains = true
|
||||
stsPreload = true
|
||||
customFrameOptionsValue = "SAMEORIGIN"
|
||||
customFrameOptionsValue = "ALLOW-FROM https://code.oasis21.org https://cloud.oasis21.org"
|
||||
referrerPolicy = "same-origin"
|
||||
permissionsPolicy = "vibrate='self'"
|
||||
stsSeconds = 315360000
|
||||
@@ -27,7 +27,8 @@
|
||||
excludedContentTypes = ["text/event-stream"]
|
||||
|
||||
[http.middlewares.allowFrameAndCORS.headers]
|
||||
contentSecurityPolicy = "frame-ancestors *"
|
||||
customFrameOptionsValue = "ALLOW-FROM https://code.oasis21.org"
|
||||
contentSecurityPolicy = "frame-ancestors * cloud.oasis21.org"
|
||||
accessControlAllowHeaders = ["*"]
|
||||
accessControlAllowMethods = ["GET", "POST", "OPTIONS"]
|
||||
accessControlAllowOriginList = ["*"]
|
||||
|
||||
Reference in New Issue
Block a user