Why Caddy proxy sometimes causes a zero-byte file to download

This blog walks you through what was causing Caddy proxy to download a zero byte file and how to resolve it