notes.dt.in.th

Caddy is "a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go"

handle and handle_path

The handle and handle_path directives are similar. However, handle_path will strip the path prefix from the request when matched.

handle_path /foo/* {
	# The path has the "/foo" prefix stripped
}

handle /bar/* {
	# The path still retains "/bar"
}

Further reading