Paths with uppercase letters aren't working

Caddy’s path matcher is case-insensitive:

But you can use a regexp matcher for a case-sensitive match: Request matchers (Caddyfile) — Caddy Documentation