mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 21:46:16 -04:00
Fix domain name display in on-demand tls demo
This commit is contained in:
parent
73d7aea616
commit
a9b51fe713
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
What happened?
|
||||
</h2>
|
||||
<p>
|
||||
Caddy automatically obtained a certificate for your domain, <code>{{.Req.Host}}</code>, 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, <code>{{.Req.Header.Get "X-Forwarded-Host"}}</code>, without any change to the server's configuration. We call this technology On-Demand TLS, and it's an exclusive feature of Caddy.
|
||||
</p>
|
||||
<p>
|
||||
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue