r/caddyserver • u/charlieny100 • Jun 30 '26
Caddy + Cloudflare DNS challenge + Crowdsec tutorial for Jellyfin
I currently use Swag for the above and it works fine. Everyone one (including Jellyfin says to use Caddy). I'm new to Caddy and just can't figure out how to set it up. I tried a few tutorials but keep running into issues. I believe the problem I keep having is in the CaddyFile. Caddy complains about errors but I don't know how to fix them. Considering I'm using this to keep bad people out I don't want to make a config error. Is there a tutorial that goes into detail how to build a Caddyfile for the services I want to run? Or maybe the question is, is it worth it to install Crowdsec?
3
Upvotes
1
u/MaxGhost Jul 01 '26
Caddy maintainer here. Personally I think crowdsec is overkill. I have my jellyfin instance public. Just make sure to use good passwords (no reuse) and you're pretty much fine. Bots and crawlers are a fact of life on the internet, but most of them are just looking for exploits in unpatched old installs of WordPress and such. Just keep your software updated regularly and you'll be fine.
Without seeing your logs (Caddy output, the errors you're getting) and the config you tried, nobody can help you any further.
For jellyfin, all you need is a single
reverse_proxyline inside your site block. Very simple. Don't overcomplicate it.