diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2022-06-14 09:05:25 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2022-06-14 09:05:25 -0600 |
commit | f9b42c37723ba6fbbfc31c61119fc42963770ce9 (patch) | |
tree | 462816a19eb4061c1b447d2da6f3c3d1cef61f08 | |
parent | aaf6794b31ca790ecc501edf983ebf95a45b3897 (diff) |
reverseproxy: Make TLS renegotiation optional
-rw-r--r-- | modules/caddyhttp/reverseproxy/httptransport.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/httptransport.go b/modules/caddyhttp/reverseproxy/httptransport.go index e6ff188..8bce580 100644 --- a/modules/caddyhttp/reverseproxy/httptransport.go +++ b/modules/caddyhttp/reverseproxy/httptransport.go @@ -403,7 +403,7 @@ func (t TLSConfig) MakeTLSClientConfig(ctx caddy.Context) (*tls.Config, error) { // Renegotiation switch t.Renegotiation { - case "never": + case "never", "": cfg.Renegotiation = tls.RenegotiateNever case "once": cfg.Renegotiation = tls.RenegotiateOnceAsClient |