reverse_proxy: remove reference to deprecated tls_trusted_ca_certs

closes #465

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
This commit is contained in:
Mohammed Al Sahaf 2025-04-22 00:34:41 +04:00
parent 801780adfb
commit e1ad192ff5
No known key found for this signature in database

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