notes.dt.in.th

Caddy web server has the automatic HTTPS server feature which automatically obtains and renews TLS certificates for your sites. But sometimes you want to disable it and use a self-signed certificate instead.

To do that, use the tls internal directive in your Caddyfile:

orangecloud.example.com {
  tls internal
}

Further reading