mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 20:46:15 -04:00
Add SNI note to proxy example
This commit is contained in:
parent
2c3fb1aa38
commit
528b1c191f
1 changed files with 2 additions and 1 deletions
|
@ -735,12 +735,13 @@ reverse_proxy 10.0.0.1:443 {
|
|||
```
|
||||
|
||||
|
||||
Instead you may establish trust with the upstream by explicitly [trusting the upstream's certificate](#tls_trusted_ca_certs):
|
||||
Instead you may establish trust with the upstream by explicitly [trusting the upstream's certificate](#tls_trusted_ca_certs), and (optionally) setting TLS-SNI to match the hostname in the upstream's certificate:
|
||||
|
||||
```caddy-d
|
||||
reverse_proxy 10.0.0.1:443 {
|
||||
transport http {
|
||||
tls_trusted_ca_certs /path/to/cert.pem
|
||||
tls_server_name app.example.com
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue