1. Caddy version (caddy version
):
Right now, I’m running v2.5.1.
a. System environment:
I’m on Ubuntu 22.04.
Currently, my config file looks like this.
gitea.stanleyshen.com{
tls internal
reverse_proxy 192.168.1.5:80
}
How do I redirect all traffic that isn’t already redirected to an IP to another server?
For example psuedo code:
if (not redirected already):
forward to ip