Cloudflare > Caddy V2 > Runcloud Success

I’ve been able to successfully get Caddy setup and running as a “middle-man” between Cloudflare and a Ubuntu server being managed by

Using as our example:

Caddy server running at IP
Ubuntu server running at IP

Domain settings at Cloudflare:

  • DNS Entries proxied and pointed at our Caddy IP of
  • Under SSL/TLS > Overview, set option to Full

Caddyfile entry on Caddy server:, {
    tls internal

Application entry for on Ubuntu (managed by

  • Under SSL/TLS, generate a new Let’s Encrypt cert
  • Use http-01 authorization
  • Use No Redirection

The above example will load your domain successfully using a Cloudflare IP.