Duplicating http traffic with reverse_proxy

1. Caddy version:

v2.6.2 linux amd

2. How I installed, and run Caddy:

tar, and using install.sh

a. System environment:

linux, systemd

3. The problem I’m having:

Hi,
piggy backing on this previous closed thread: How to duplicate traffic using http proxy
was there ever an issue created? or a PR which was merged for this? my needs are identical to these post

Thank you!

You can use GitHub - mholt/caddy-l4: Layer 4 (TCP/UDP) app for Caddy with the tee handler to pipe traffic to multiple other handlers.

But this is a TCP/UDP layer proxy, and only supports JSON config (no Caddyfile), so it’s a bit more work to set up.

1 Like

I’ve decided to use GoReplay to produce my desired outcome instead, but thank you for your help!!

1 Like