mirror of
https://github.com/caddyserver/website.git
synced 2025-04-25 06:26:17 -04:00
reverse_proxy: remove reference to deprecated tls_trusted_ca_certs
(#466)
closes #465 Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
This commit is contained in:
parent
801780adfb
commit
968cdc3204
1 changed files with 2 additions and 2 deletions
|
@ -771,13 +771,13 @@ example.com {
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
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:
|
Instead you may establish trust with the upstream by explicitly [trusting the upstream's certificate](#tls_trust_pool), and (optionally) setting TLS-SNI to match the hostname in the upstream's certificate:
|
||||||
|
|
||||||
```caddy
|
```caddy
|
||||||
example.com {
|
example.com {
|
||||||
reverse_proxy 10.0.0.1:443 {
|
reverse_proxy 10.0.0.1:443 {
|
||||||
transport http {
|
transport http {
|
||||||
tls_trusted_ca_certs /path/to/cert.pem
|
tls_trust_pool file /path/to/cert.pem
|
||||||
tls_server_name app.example.com
|
tls_server_name app.example.com
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue