Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6753422f7a |
@@ -61,6 +61,8 @@ type Site struct {
|
||||
Local bool `json:"local"`
|
||||
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
|
||||
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
|
||||
Targets []Target `json:"targets"` // udp uses only the first
|
||||
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
|
||||
// target with a PROXY protocol header carrying the real client address.
|
||||
ProxyProtocol string `json:"proxyProtocol,omitempty"`
|
||||
|
||||
Reference in new issue
Block a user