路径规则、重写规则、URL跳转规则均支持匹配条件

This commit is contained in:
GoEdgeLab
2021-06-09 21:43:58 +08:00
parent 4cc79fe7e2
commit 12583b1d3f
7 changed files with 208 additions and 152 deletions

View File

@@ -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;
}
// 查找路径规则配置