Skip to main content

Caddy Web Server

  • HTTPS/TLS for custom domains
  • Dynamically provision certificates
  • Massively scale your TLS

Caddyfile

TLS API (cloudflare)

(cloudflare-tls) {
tls {
dns cloudflare {token}
}
}

domain.com {
reverse_proxy :20843
import cloudflare-tls
}

basicauth

:20843 {
basicauth {
# Username "Wayne", password "xxxxx"
Wayne {generate_password}
}
reverse_proxy :20800
}