diff --git a/FastGithub/FastGithub.csproj b/FastGithub/FastGithub.csproj index 7367b53..dc0ec9b 100644 --- a/FastGithub/FastGithub.csproj +++ b/FastGithub/FastGithub.csproj @@ -23,6 +23,9 @@ + + PreserveNewest + PreserveNewest diff --git a/FastGithub/appsettings.domain.json.example b/FastGithub/appsettings.domain.json.example new file mode 100644 index 0000000..450c534 --- /dev/null +++ b/FastGithub/appsettings.domain.json.example @@ -0,0 +1,23 @@ +{ + "Lookup": { // ip查找 + "Domains": [ // 查找的域名,下面是要加速的域名 + "domain.com", + "xx.domain.com", + "yy.domain.com" + ] + }, + "Scan": { // 扫描规则 + "HttpsScan": { + "Rules": { // 域名扫描规则,缺失的域名,将默认HEAD请求到域名的根路径 + "xx.domain.com": { + "Method": "HEAD", + "Path": "/xx/" + }, + "yy.domain.com": { + "Method": "HEAD", + "Path": "/yy/" + } + } + } + } +}