diff --git a/app/router/config.go b/app/router/config.go index d87ec3b5cb8..07931711fea 100644 --- a/app/router/config.go +++ b/app/router/config.go @@ -77,6 +77,8 @@ func (rr *RoutingRule) BuildCondition() (Condition, error) { } newError("ACAutomatonDomainMatcher is enabled for ", len(rr.Domain), "domain rules(s)").AtDebug().WriteToLog() conds.Add(matcher) + case "linear": + fallthrough default: matcher, err := NewDomainMatcher(rr.Domain) if err != nil {