diff --git a/src/on-demand-tls.html b/src/on-demand-tls.html index b5a09e7..38d39bb 100644 --- a/src/on-demand-tls.html +++ b/src/on-demand-tls.html @@ -32,7 +32,7 @@ What happened?

- Caddy automatically obtained a certificate for your domain, {{.Req.Host}}, without any change to the server's configuration. We call this technology On-Demand TLS, and it's an exclusive feature of Caddy. + Caddy automatically obtained a certificate for your domain, {{.Req.Header.Get "X-Forwarded-Host"}}, without any change to the server's configuration. We call this technology On-Demand TLS, and it's an exclusive feature of Caddy.

With On-Demand TLS, no config changes are required to serve more domains over HTTPS. This is perfect for servers hosting content or APIs for customer-owned domains because your HTTPS deployment scales as tall and wide as your business does.