Reverse proxy quick-start — by Caddy Documentation
Shows a one-line caddy reverse-proxy command and the equivalent Caddyfile, then automatic HTTPS for a real hostname, binding low ports, and proxying to HTTPS backends.
Quick steps
- caddy reverse-proxy --from :2080 --to :9000
- Use a domain with --from for automatic HTTPS (ports 80/443 must be reachable)
- For low ports run as root or sudo setcap cap_net_bind_service=+ep $(which caddy)
- Use --change-host-header if hostnames differ
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: Reverse proxy quick-start by Caddy Documentation. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me