Mohammed Al Sahaf
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
2 deletions
-
modules/caddyhttp/reverseproxy/ntlm.go
|
|
@ -60,8 +60,12 @@ type NTLMTransport struct { |
|
|
|
// CaddyModule returns the Caddy module information.
|
|
|
|
func (NTLMTransport) CaddyModule() caddy.ModuleInfo { |
|
|
|
return caddy.ModuleInfo{ |
|
|
|
ID: "http.reverse_proxy.transport.http_ntlm", |
|
|
|
New: func() caddy.Module { return new(NTLMTransport) }, |
|
|
|
ID: "http.reverse_proxy.transport.http_ntlm", |
|
|
|
New: func() caddy.Module { |
|
|
|
m := new(NTLMTransport) |
|
|
|
m.HTTPTransport = new(HTTPTransport) |
|
|
|
return m |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|