From the nginx documentation, proxy_redirect is a specific command that sets a substitution for the content of location and refresh headers - I don’t believe Caddy’s proxy directive has an analogue.
Caddy’s proxy does, however, have the header_upstream subdirective which will perform the same task as nginx’s proxy_set_header.