Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Listen string
StatusZone string
ProxyPass string
Pass string
RewriteClientIP shared.RewriteClientIPSettings
SSLPreread bool
IsSocket bool
}
Server holds all configuration for a stream server.
type ServerConfig ¶
ServerConfig holds configuration for a stream server and IP family to be used by NGINX.
type Upstream ¶
type Upstream struct {
Name string
ZoneSize string // format: 512k, 1m
StateFile string
Servers []UpstreamServer
}
Upstream holds all configuration for a stream upstream.
type UpstreamServer ¶
type UpstreamServer struct {
Address string
}
UpstreamServer holds all configuration for a stream upstream server.
Click to show internal directories.
Click to hide internal directories.