Rewritebody plugin to modify proxy response

Does Caddy have the ability to rewrite the body of responses like Traefik’s rewritebody or nginx_substitutions_filter?

Actually yeah, I just finished writing one for a client, gonna open source it soon.

At quick glance, looks like it should be more efficient thank Traefik’s plugin which buffers the whole body. Caddy’s will optionally perform the replacements on a stream.

1 Like