Here is two enteries from my Caddyfile
:
ip.domain.tld:80 {
respond "{client_ip}" 200
}
git.domain.tld {
reverse_proxy forgejo:3000
}
This is all I need and Caddy will handle the rest. I have created a network with podman/docker that I add to any container that I need to reverse proxy to.