源站支持自定义回源主机名

This commit is contained in:
刘祥超
2022-03-17 15:48:16 +08:00
parent 024f30ec36
commit 573f1fe22f
5 changed files with 101 additions and 70 deletions

View File

@@ -12,4 +12,5 @@ message Origin {
NetworkAddress addr = 4;
string description = 5;
repeated string domains = 6;
string host = 7;
}

View File

@@ -35,6 +35,7 @@ message CreateOriginRequest {
int32 maxIdleConns = 10;
repeated string domains = 11;
bytes certRefJSON = 12;
string host = 13;
}
message CreateOriginResponse {
@@ -56,6 +57,7 @@ message UpdateOriginRequest {
int32 maxIdleConns = 11;
repeated string domains = 12;
bytes certRefJSON = 13;
string host = 14;
}
// 查找单个源站信息