Skip to content

Reverse proxy quick-start — by Caddy Documentation

beginnerpageLink only (©)

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

  1. caddy reverse-proxy --from :2080 --to :9000
  2. Use a domain with --from for automatic HTTPS (ports 80/443 must be reachable)
  3. For low ports run as root or sudo setcap cap_net_bind_service=+ep $(which caddy)
  4. Use --change-host-header if hostnames differ

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full article on caddyserver.com

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

caddyreverse proxyhttps

More in Reverse Proxies