mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
reverseproxy: Make TLS renegotiation optional
This commit is contained in:
parent
aaf6794b31
commit
f9b42c3772
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ func (t TLSConfig) MakeTLSClientConfig(ctx caddy.Context) (*tls.Config, error) {
|
||||||
|
|
||||||
// Renegotiation
|
// Renegotiation
|
||||||
switch t.Renegotiation {
|
switch t.Renegotiation {
|
||||||
case "never":
|
case "never", "":
|
||||||
cfg.Renegotiation = tls.RenegotiateNever
|
cfg.Renegotiation = tls.RenegotiateNever
|
||||||
case "once":
|
case "once":
|
||||||
cfg.Renegotiation = tls.RenegotiateOnceAsClient
|
cfg.Renegotiation = tls.RenegotiateOnceAsClient
|
||||||
|
|
Loading…
Reference in a new issue