Caddyfile to work with Matrix/Synapse

The Caddyfile you shared has a } too much between

}
} # <-- remove that one
share.naff.casa {

You can let Caddy format your Caddyfile via caddy fmt (docs) and check it without running via caddy validate (docs).
However, please note that caddy validate might not catch all errors.

PS: You could also use a slightly different formatted approach, which won’t actually fix your issue, but I felt like mentioning it since you wrote

in your opening :innocent:

2 Likes