proxy

package
v0.0.0-...-cf3be22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	// Timeout specifies an optional maximum time for the PROXY header to be received. If zero, timeout is disabled. Default is 5s.
	Timeout caddy.Duration `json:"timeout,omitempty"`

	// Allow is an optional list of CIDR ranges to allow/require PROXY headers from.
	Allow []string `json:"allow,omitempty"`
	// contains filtered or unexported fields
}

func (Proxy) CaddyModule

func (Proxy) CaddyModule() caddy.ModuleInfo

func (*Proxy) Provision

func (pp *Proxy) Provision(ctx caddy.Context) error

func (*Proxy) UnmarshalCaddyfile

func (w *Proxy) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

func (*Proxy) WrapListener

func (pp *Proxy) WrapListener(l net.Listener) net.Listener

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL