1. The problem I’m having
I’m having trouble figuring out where the information on errors is stored and how to access this. I’m checking journalctl
, and the access.log
that I’ve asked Caddy to generate, but there’s no information on the reasons for why a request failed. Is the file missing? Are the permissions not right? Did the proxied endpoint not reply? I’m used to being able to see this kind of output, but I struggle to find this in Caddy.
2. Error messages and/or full log output:
n/a
3. Caddy version:
2.6.2
4. How I installed and ran Caddy:
From apt
a. System environment:
Debian 12, VPS
b. Command:
I’ve tried:
tail /var/log/caddy/error.log
journalctl -fu caddy
systemctl status caddy
c. Service/unit/compose file:
n/a
d. My complete Caddy config:
:80 {
log {
output file /var/log/caddy/access.log
}
root * /var/phorge/phorge/webroot/;
encode {
zstd
gzip 6
}
file_server
}