middlewares.yml - (<unknown>): did not find expected key while parsing a block mapping at line 22 column 9
efleurimond opened this issue · 1 comments
efleurimond commented
Hi, could someone please take a look at middlewares.yml and help me understand why Yamllint would say the YAML syntax is not correct? At first I tought the modified version I'm using had a syntac error but I had the same error message with the actual version from the repo. Thank you for your guidance.
efleurimond commented
YAML validated !... If that can save you some times, just replace " with ' where the var DOMAINNAME_CLOUD_SERVER is called:
customFrameOptionsValue: 'allow-from https:{{env "DOMAINNAME_CLOUD_SERVER"}}'
address: 'https://oauth.{{env "DOMAINNAME_CLOUD_SERVER"}}'
address: 'http://authelia:9091/api/verify?rd=https://authelia.{{env "DOMAINNAME_CLOUD_SERVER"}}'