Skip to content

Commit 30ee603

Browse files
authored
feat(lb): add support for RouteMatch.MatchSubdomains (#2442)
1 parent 4d0065c commit 30ee603

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/lb/v1/lb_sdk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,6 +1683,9 @@ type RouteMatch struct {
16831683
// HostHeader: value to match in the HTTP Host request header from an incoming connection. This field should be set for routes on HTTP Load Balancers.
16841684
// Precisely one of Sni, HostHeader must be set.
16851685
HostHeader *string `json:"host_header,omitempty"`
1686+
1687+
// MatchSubdomains: if true, all subdomains will match.
1688+
MatchSubdomains bool `json:"match_subdomains"`
16861689
}
16871690

16881691
// CreateCertificateRequestCustomCertificate: create certificate request custom certificate.

0 commit comments

Comments
 (0)