Documentation
¶
Index ¶
Constants ¶
View Source
const ( LabelHost = "liteproxy.host" LabelPort = "liteproxy.port" LabelPortHTTP = "liteproxy.port.http" LabelPath = "liteproxy.path" LabelRedirectFrom = "liteproxy.redirect_from" LabelPassHost = "liteproxy.passhost" LabelStripPrefix = "liteproxy.strip_prefix" LabelPassthrough = "liteproxy.passthrough" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct {
Host string
PathPrefix string
ServiceName string
ServicePort int
HTTPPort int // Optional: separate port for HTTP passthrough (for ACME challenges)
PassHostHeader bool
StripPrefix bool
RedirectFrom []string
Passthrough bool // Forward raw TCP without terminating TLS or processing HTTP
}
Route represents a single routing rule extracted from compose labels
Click to show internal directories.
Click to hide internal directories.