Skip to content

Ignore proxy TLS certfiicate

James edited this page Dec 29, 2025 · 1 revision

If you have an upstream server that is serving an invalid cert and you want to ignore the fact that it's invalid, throwing security to the wind, you can do the following for example

caddy: example.com
caddy.handle_path: /sub-path/*
caddy.handle_path.reverse_proxy: "{{upstreams https 443}}"
caddy.handle_path.reverse_proxy.transport: http
caddy.handle_path.reverse_proxy.transport.tls: ""
caddy.handle_path.reverse_proxy.transport.tls_insecure_skip_verify: ""

Clone this wiki locally