Getting caddy to work on ubuntu for jellyfin server on cloudflare

1. Caddy version (go1.18.3):

2. How I run Caddy: sudo systemctl start caddy or caddy start

a. System environment:

b. Command:

caddy start
caddy run
sudo systemctl start caddy

c. Service/unit/compose file:

Paste full file contents here.
Make sure backticks stay on their own lines,
and the post looks nice in the preview pane.

d. My complete Caddyfile or JSON config:

Paste config here, replacing this text.
Use `caddy fmt` to make it readable.
DO NOT REDACT anything except credentials.
LEAVE DOMAIN NAMES INTACT.
Make sure the backticks stay on their own lines.

3. The problem I’m having:

4. Error messages and/or full log output:

5. What I already tried:

6. Links to relevant resources:

That’s the Go version, not the Caddy version.

Please fill out the help topic template, as per the forum rules. We can’t help you unless you do.