You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/lb/v1/lb_sdk.go
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1676,15 +1676,19 @@ type PrivateNetworkStaticConfig struct {
1676
1676
// RouteMatch: route match.
1677
1677
typeRouteMatchstruct {
1678
1678
// Sni: value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. This field should be set for routes on TCP Load Balancers.
1679
-
// Precisely one of Sni, HostHeader must be set.
1679
+
// Precisely one of Sni, HostHeader, PathBegin must be set.
1680
1680
Sni*string`json:"sni,omitempty"`
1681
1681
1682
1682
// HostHeader: value to match in the HTTP Host request header from an incoming request. This field should be set for routes on HTTP Load Balancers.
1683
-
// Precisely one of Sni, HostHeader must be set.
1683
+
// Precisely one of Sni, HostHeader, PathBegin must be set.
1684
1684
HostHeader*string`json:"host_header,omitempty"`
1685
1685
1686
1686
// MatchSubdomains: if true, all subdomains will match.
1687
1687
MatchSubdomainsbool`json:"match_subdomains"`
1688
+
1689
+
// PathBegin: value to match in the URL beginning path from an incoming request.
1690
+
// Precisely one of Sni, HostHeader, PathBegin must be set.
0 commit comments