Need help with # Caddy configuration
submitted by
edited
Need help with #Caddy configuration. Getting error:
"Error: adapting config using caddyfile: /etc/caddy/Caddyfile:20: parsed 'header' as a site address, but it is a known directive; directives must appear in a site block"
Running #LinkAce behind Caddy. Config has global options block, site blocks for subdomains, and snippets for common configs. Error persists despite:
- Proper indentation
- Blank lines between blocks
- Snippets after global block
- Valid header directives
Full config: privatebin.io/?e2b50660d40b846
Password: bka@zhj@btc4FPR!emr
#SelfHosted #Docker #ReverseProxy #WebDev #Linux #HomeLab
@selfhost @selfhosted @selfhosting
Jemmy
@RareBird15 @selfhost @selfhosted @selfhosting I wonder if it was a bug introduced in github.com/caddyserver/caddy/i? That's a year ago, though; I would think someone would have noticed.
@RareBird15 @selfhost @selfhosted @selfhosting Actually, I think it's in the bookmarks.laniecarmelo.tech block.
If I comment that out, then the file validates.
@offby1 @selfhost @selfhosted @selfhosting Hmm, I suspected it might be that block. Not sure how to fix it though.