Make proxy for google recaptcha

You can imitate the filters with http.filter, but Caddy has no method to substitute the cookie domain or replicate ProxyPassReverse.

Once PR #2144 is merged (Regex rewriting of upstream/downstream headers in proxy), it should be configurable to do both, I expect. In the meantime, the simplest solution if you need Caddy’s features at the edge would be to reverse proxy to an Apache reverse proxy.