From 147b59e536f92599dd3070f0cded0d0eb66887ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Mon, 9 Aug 2021 13:42:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=9A=E4=B8=AA=E5=B8=B8?= =?UTF-8?q?=E8=A7=81=E7=A8=8B=E5=BA=8F=E5=91=98=E7=BD=91=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub/appsettings.cdn.json | 30 +++++++++++++++++++++++ FastGithub/appsettings.codeproject.json | 17 +++++++++++++ FastGithub/appsettings.stackoverflow.json | 24 ------------------ 3 files changed, 47 insertions(+), 24 deletions(-) create mode 100644 FastGithub/appsettings.cdn.json create mode 100644 FastGithub/appsettings.codeproject.json diff --git a/FastGithub/appsettings.cdn.json b/FastGithub/appsettings.cdn.json new file mode 100644 index 0000000..912708e --- /dev/null +++ b/FastGithub/appsettings.cdn.json @@ -0,0 +1,30 @@ +{ + "FastGithub": { + "DomainConfigs": { + "cdnjs.cloudflare.com": { + "TlsSni": true, + "Destination": "https://cdnjs.loli.net/" + }, + "ajax.googleapis.com": { + "TlsSni": true, + "Destination": "https://ajax.loli.net/" + }, + "fonts.googleapis.com": { + "TlsSni": true, + "Destination": "https://fonts.loli.net/" + }, + "themes.googleusercontent.com": { + "TlsSni": true, + "Destination": "https://themes.loli.net/" + }, + "fonts.gstatic.com": { + "TlsSni": true, + "Destination": "https://gstatic.loli.net/" + }, + "*.gravatar.com": { + "TlsSni": true, + "Destination": "https://gravatar.loli.net/" + } + } + } +} diff --git a/FastGithub/appsettings.codeproject.json b/FastGithub/appsettings.codeproject.json new file mode 100644 index 0000000..7f6a852 --- /dev/null +++ b/FastGithub/appsettings.codeproject.json @@ -0,0 +1,17 @@ +{ + "FastGithub": { + "DomainConfigs": { + "*.fastly.net": { + "TlsSni": false + }, + "*.*.fastly.net": { + "TlsSni": false + }, + "accounts.google.com": { + "Response": { + "StatusCode": 404 + } + } + } + } +} \ No newline at end of file diff --git a/FastGithub/appsettings.stackoverflow.json b/FastGithub/appsettings.stackoverflow.json index 1490555..990bf2f 100644 --- a/FastGithub/appsettings.stackoverflow.json +++ b/FastGithub/appsettings.stackoverflow.json @@ -1,30 +1,6 @@ { "FastGithub": { "DomainConfigs": { - "cdnjs.cloudflare.com": { - "TlsSni": true, - "Destination": "https://cdnjs.loli.net/" - }, - "ajax.googleapis.com": { - "TlsSni": true, - "Destination": "https://ajax.loli.net/" - }, - "fonts.googleapis.com": { - "TlsSni": true, - "Destination": "https://fonts.loli.net/" - }, - "themes.googleusercontent.com": { - "TlsSni": true, - "Destination": "https://themes.loli.net/" - }, - "fonts.gstatic.com": { - "TlsSni": true, - "Destination": "https://gstatic.loli.net/" - }, - "*.gravatar.com": { - "TlsSni": true, - "Destination": "https://gravatar.loli.net/" - }, "i.imgur.com": { "IPAddress": "146.75.8.193" },