1. Caddy version (caddy version
):v2.4.5
2. How I run Caddy:
a. System environment:
Ubuntu, 20.4, Nob. Command:
Sudo Systemctl enable caddy-api
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:
i am unable get logs of caddy.
4. Error messages and/or full log output:
*curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number5. What I already tried:
/var/log/caddy/access.log
curl localhost:2019/config/logging -X POST -H “Content-Type: application/json” -d ‘{“logs”: {“access”: {“level”: “debug”}}}’