路径规则、重写规则、URL跳转规则均支持匹配条件
This commit is contained in:
@@ -35,6 +35,7 @@ message CreateHTTPLocationRequest {
|
||||
string description = 3;
|
||||
string pattern = 4;
|
||||
bool isBreak = 5;
|
||||
bytes condsJSON = 6;
|
||||
}
|
||||
|
||||
message CreateHTTPLocationResponse {
|
||||
@@ -49,6 +50,7 @@ message UpdateHTTPLocationRequest {
|
||||
string pattern = 4;
|
||||
bool isOn = 5;
|
||||
bool isBreak = 6;
|
||||
bytes condsJSON = 7;
|
||||
}
|
||||
|
||||
// 查找路径规则配置
|
||||
|
||||
@@ -23,6 +23,7 @@ message CreateHTTPRewriteRuleRequest {
|
||||
string proxyHost = 6;
|
||||
bool isOn = 7;
|
||||
bool withQuery = 8;
|
||||
bytes condsJSON = 9;
|
||||
}
|
||||
|
||||
message CreateHTTPRewriteRuleResponse {
|
||||
@@ -40,4 +41,5 @@ message UpdateHTTPRewriteRuleRequest {
|
||||
string proxyHost = 7;
|
||||
bool isOn = 8;
|
||||
bool withQuery = 9;
|
||||
bytes condsJSON = 10;
|
||||
}
|
||||
Reference in New Issue
Block a user