1. My Caddy version (
(devel) - version 2 (faf67b10)
2. How I run Caddy:
Loads a Caddyfile and runs
Running Ubuntu Linux 16.04, but that’s besides the point.
3. The problem I’m having:
I don’t know how to set HTTP server errors from a Caddyfile in Caddy v2.
Although, it appears you can do this via JSON config: https://github.com/caddyserver/caddy/wiki/v2:-Documentation#httpserverserrors
4. Error messages and/or full log output:
5. What I already tried:
error directive. Also tried the same in the “global” configuration area. It doesn’t work.
6. Links to relevant resources: