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:
Mohammed Al Sahaf 2025-04-22 02:30:04 +03:00 committed by GitHub
parent 801780adfb
commit 968cdc3204
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
} }
} }