diff options
Diffstat (limited to 'modules/caddyhttp/reverseproxy/httptransport.go')
| -rw-r--r-- | modules/caddyhttp/reverseproxy/httptransport.go | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/caddyhttp/reverseproxy/httptransport.go b/modules/caddyhttp/reverseproxy/httptransport.go index 38a904e..1dd1d14 100644 --- a/modules/caddyhttp/reverseproxy/httptransport.go +++ b/modules/caddyhttp/reverseproxy/httptransport.go @@ -40,6 +40,7 @@ type HTTPTransport struct {  	// TODO: It's possible that other transports (like fastcgi) might be  	// able to borrow/use at least some of these config fields; if so,  	// maybe move them into a type called CommonTransport and embed it? +  	TLS                   *TLSConfig     `json:"tls,omitempty"`  	KeepAlive             *KeepAlive     `json:"keep_alive,omitempty"`  	Compression           *bool          `json:"compression,omitempty"` @@ -59,8 +60,8 @@ type HTTPTransport struct {  // CaddyModule returns the Caddy module information.  func (HTTPTransport) CaddyModule() caddy.ModuleInfo {  	return caddy.ModuleInfo{ -		Name: "http.handlers.reverse_proxy.transport.http", -		New:  func() caddy.Module { return new(HTTPTransport) }, +		ID:  "http.reverse_proxy.transport.http", +		New: func() caddy.Module { return new(HTTPTransport) },  	}  }  | 
