Documentation
¶
Index ¶
Constants ¶
View Source
const ErrExpiresAtTime = "usage of `expires @time` is not supported"
View Source
const ErrNamedLocation = "named locations marked by @ are unnsupported"
View Source
const ErrUnrecognized = "unrecognized or unsupported nginx directive"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directive ¶
type Directive struct {
// Params contains the name and parameters on
// the line. The first element is the name.
Params []string
// Block contains the block contents, if present.
Block []Directive
File string
Line int
}
Directive represents an nginx configuration directive.
type Upstream ¶
type Upstream struct {
Servers reverseproxy.UpstreamPool
NTLM bool
SelectionPolicy struct {
Name string
Selector reverseproxy.Selector
}
KeepAlive *reverseproxy.KeepAlive
}
Click to show internal directories.
Click to hide internal directories.