mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-10 01:20:26 +08:00
缓存设置中可以设置缓存主域名,用来复用多域名下的缓存
This commit is contained in:
@@ -121,6 +121,9 @@ service HTTPWebService {
|
||||
|
||||
// 查找UserAgent设置
|
||||
rpc findHTTPWebUserAgent(FindHTTPWebUserAgentRequest) returns (FindHTTPWebUserAgentResponse);
|
||||
|
||||
// 根据WebId查找ServerId
|
||||
rpc findServerIdWithHTTPWebId(FindServerIdWithHTTPWebIdRequest) returns (FindServerIdWithHTTPWebIdResponse);
|
||||
}
|
||||
|
||||
// 创建Web配置
|
||||
@@ -379,4 +382,13 @@ message FindHTTPWebUserAgentRequest {
|
||||
|
||||
message FindHTTPWebUserAgentResponse {
|
||||
bytes userAgentJSON = 1;
|
||||
}
|
||||
|
||||
// 根据WebId查找ServerId
|
||||
message FindServerIdWithHTTPWebIdRequest {
|
||||
int64 httpWebId = 1; // Web设置ID
|
||||
}
|
||||
|
||||
message FindServerIdWithHTTPWebIdResponse {
|
||||
int64 serverId = 1; // 网站ID
|
||||
}
|
||||
Reference in New Issue
Block a user