Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6753422f7a |
@@ -61,6 +61,8 @@ type Site struct {
|
|||||||
Local bool `json:"local"`
|
Local bool `json:"local"`
|
||||||
EdgeID string `json:"edgeId,omitempty"` // the edge a local site belongs to
|
EdgeID string `json:"edgeId,omitempty"` // the edge a local site belongs to
|
||||||
|
|
||||||
|
Tags []string `json:"tags,omitempty"` // labels for grouping and filtering in the dashboard
|
||||||
|
|
||||||
TunnelIP string `json:"tunnelIp,omitempty"` // the site's address inside the tunnel network
|
TunnelIP string `json:"tunnelIp,omitempty"` // the site's address inside the tunnel network
|
||||||
PublicKey string `json:"publicKey,omitempty"` // WireGuard public key, reported by the agent
|
PublicKey string `json:"publicKey,omitempty"` // WireGuard public key, reported by the agent
|
||||||
|
|
||||||
@@ -125,6 +127,7 @@ type Mapping struct {
|
|||||||
Hostname string `json:"hostname,omitempty"` // web/tls only; "*.example.com" allowed
|
Hostname string `json:"hostname,omitempty"` // web/tls only; "*.example.com" allowed
|
||||||
Targets []Target `json:"targets"` // udp uses only the first
|
Targets []Target `json:"targets"` // udp uses only the first
|
||||||
Enabled bool `json:"enabled"`
|
Enabled bool `json:"enabled"`
|
||||||
|
Tags []string `json:"tags,omitempty"` // labels for grouping and filtering in the dashboard
|
||||||
// ProxyProtocol ("v1" or "v2") makes the edge start each tcp/tls connection to the
|
// ProxyProtocol ("v1" or "v2") makes the edge start each tcp/tls connection to the
|
||||||
// target with a PROXY protocol header carrying the real client address.
|
// target with a PROXY protocol header carrying the real client address.
|
||||||
ProxyProtocol string `json:"proxyProtocol,omitempty"`
|
ProxyProtocol string `json:"proxyProtocol,omitempty"`
|
||||||
|
|||||||
Reference in new issue
Block a user