Too many redirects

You could alternatively use route to order the directives in the order they are in your route block. (Or use the order global option to sort redir after reverse_proxy.)

See Composing in the Caddyfile.