Francis Lavoie
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
0 deletions
-
modules/caddyhttp/reverseproxy/caddyfile.go
|
@ -670,6 +670,16 @@ func (h *HTTPTransport) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { |
|
|
|
|
|
|
|
|
h.TLS.RootCAPEMFiles = args |
|
|
h.TLS.RootCAPEMFiles = args |
|
|
|
|
|
|
|
|
|
|
|
case "tls_server_name": |
|
|
|
|
|
if !d.NextArg() { |
|
|
|
|
|
return d.ArgErr() |
|
|
|
|
|
} |
|
|
|
|
|
if h.TLS == nil { |
|
|
|
|
|
h.TLS = new(TLSConfig) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
h.TLS.ServerName = d.Val() |
|
|
|
|
|
|
|
|
case "keepalive": |
|
|
case "keepalive": |
|
|
if !d.NextArg() { |
|
|
if !d.NextArg() { |
|
|
return d.ArgErr() |
|
|
return d.ArgErr() |
|
|