From c8409a8775bad54d758c70cde64ac5e3b3eb2514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Wed, 11 Aug 2021 17:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=9F=9F=E5=90=8D=E6=9D=A5?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub/appsettings.cloudflare.json | 10 ++++++++++ ...codeproject.json => appsettings.fastly.json} | 5 ----- ...ettings.cdn.json => appsettings.google.json} | 17 ++++++++++++++--- ...tackoverflow.json => appsettings.imgur.json} | 12 +----------- 4 files changed, 25 insertions(+), 19 deletions(-) create mode 100644 FastGithub/appsettings.cloudflare.json rename FastGithub/{appsettings.codeproject.json => appsettings.fastly.json} (63%) rename FastGithub/{appsettings.cdn.json => appsettings.google.json} (70%) rename FastGithub/{appsettings.stackoverflow.json => appsettings.imgur.json} (57%) diff --git a/FastGithub/appsettings.cloudflare.json b/FastGithub/appsettings.cloudflare.json new file mode 100644 index 0000000..4dae11b --- /dev/null +++ b/FastGithub/appsettings.cloudflare.json @@ -0,0 +1,10 @@ +{ + "FastGithub": { + "DomainConfigs": { + "cdnjs.cloudflare.com": { + "TlsSni": true, + "Destination": "https://cdnjs.loli.net/" + } + } + } +} \ No newline at end of file diff --git a/FastGithub/appsettings.codeproject.json b/FastGithub/appsettings.fastly.json similarity index 63% rename from FastGithub/appsettings.codeproject.json rename to FastGithub/appsettings.fastly.json index 7f6a852..904783d 100644 --- a/FastGithub/appsettings.codeproject.json +++ b/FastGithub/appsettings.fastly.json @@ -6,11 +6,6 @@ }, "*.*.fastly.net": { "TlsSni": false - }, - "accounts.google.com": { - "Response": { - "StatusCode": 404 - } } } } diff --git a/FastGithub/appsettings.cdn.json b/FastGithub/appsettings.google.json similarity index 70% rename from FastGithub/appsettings.cdn.json rename to FastGithub/appsettings.google.json index 7b5da2d..cbc9c37 100644 --- a/FastGithub/appsettings.cdn.json +++ b/FastGithub/appsettings.google.json @@ -21,9 +21,20 @@ "TlsSni": true, "Destination": "https://sdn.geekzu.org/" }, - "cdnjs.cloudflare.com": { - "TlsSni": true, - "Destination": "https://cdnjs.loli.net/" + "lh*.googleusercontent.com": { + "Response": { + "StatusCode": 404 + } + }, + "google.com": { + "Response": { + "StatusCode": 404 + } + }, + "*.google.com": { + "Response": { + "StatusCode": 404 + } } } } diff --git a/FastGithub/appsettings.stackoverflow.json b/FastGithub/appsettings.imgur.json similarity index 57% rename from FastGithub/appsettings.stackoverflow.json rename to FastGithub/appsettings.imgur.json index eb43648..a2b772a 100644 --- a/FastGithub/appsettings.stackoverflow.json +++ b/FastGithub/appsettings.imgur.json @@ -8,17 +8,7 @@ "i.*.imgur.com": { "IPAddress": "146.75.8.193", "TlsIgnoreNameMismatch": true - }, - "lh*.googleusercontent.com": { - "Response": { - "StatusCode": 404 - } - }, - "www.google.com": { - "Response": { - "StatusCode": 404 - } } } } -} +} \ No newline at end of file