Skip to content

Instantly share code, notes, and snippets.

@maxbrueckl
Last active July 5, 2023 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxbrueckl/bbe8e94324fcc7b2bf452680551b17a6 to your computer and use it in GitHub Desktop.
Save maxbrueckl/bbe8e94324fcc7b2bf452680551b17a6 to your computer and use it in GitHub Desktop.
http:
middlewares:
drop-prompt-parameter:
redirectRegex:
regex: "^(.*)&prompt=select_account%20consent(.*)"
replacement: "${1}${2}"
owncloud-cors-headers:
headers:
accessControlAllowCredentials: true
accessControlExposeHeaders: "*"
accessControlAllowHeaders: "*"
accessControlAllowMethods: "*"
accessControlAllowOriginList:
- https://owncloud.{{env "DOMAINNAME"}} # replace with your owncloud url
- https://authelia.{{env "DOMAINNAME"}} # replace with your authelia url
accessControlMaxAge: "3600"
addVaryHeader: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment