Reverse Proxy with rewrite of path, stripping parts

You’re either looking for uri (Caddyfile directive) — Caddy Documentation or for handle_path (Caddyfile directive) — Caddy Documentation to strip the path prefix.

But generally, I’d recommend using subdomains for each service, instead of subpaths. See this article for an explanation:

2 Likes