1. Output of
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
caddy reverse-proxy --from testdomain.com --to 127.0.0.1:8096
d. My complete Caddy config:
3. The problem I’m having:
Noob with this configuration.
4. Error messages and/or full log output:
This log is empty: journalctl -u caddy --no-pager | less +G
6. Links to relevant resources:
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.
This topic was automatically closed after 30 days. New replies are no longer allowed.