We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d07dfb commit 3a92c81Copy full SHA for 3a92c81
wrapper.go
@@ -9,6 +9,7 @@ import (
9
"github.com/mastercactapus/proxyprotocol"
10
)
11
12
+// Wrapper provides PROXY protocol support to Caddy by implementing the caddy.ListenerWrapper interface. It must be loaded before the `tls` listener.
13
type Wrapper struct {
14
// Timeout specifies an optional maximum time for the PROXY header to be received. If zero, timeout is disabled. Default is 5s.
15
Timeout caddy.Duration `json:"timeout,omitempty"`
0 commit comments