Following the official guide, it's as simple as defining a Caddyfile:
Caddyfile
example.com:7777 reverse_proxy:27777
Or running caddy via:
caddy reverse-proxy --from example.com:7777 --to :27777
Last updated 10 months ago