Jellyfin reverse proxy with caddy

1. Output of caddy version

v2.6.1

2. How I run Caddy:

sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf ‘https://dl.cloudsmith.io/public/caddy/stable/gpg.key’ | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf ‘https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt’ | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy

a. System environment:

Home server in virtual machine
Debian Linux 11

b. Command:

caddy reverse-proxy --from testdomain.com --to 127.0.0.1:8096

d. My complete Caddy config:

testdomain.com {
   reverse_proxy 127.0.0.1:8096
}

3. The problem I’m having:

Noob with this configuration.

4. Error messages and/or full log output:

Screenshot 2022-10-04 140549

This log is empty: journalctl -u caddy --no-pager | less +G

6. Links to relevant resources:

https://jellyfin.org/docs/general/networking/caddy.html

If you installed Caddy via the apt repo, then you don’t need to run Caddy yourself, because it runs as a systemd service. Instead, see this page in the docs to see how to use Caddy when it’s running as a service:

But, keep in mind you may have another web server already running as well, causing even Caddy as a systemd service to fail to start.

Make sure you don’t have Apache or Nginx installed previously, which would be already listening on port 80.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.