From 46606fed5f82a13650ee7a5aa008e476101089cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Thu, 15 Jul 2021 08:52:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub/README.MD | 5 +---- FastGithub/appsettings.json | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/FastGithub/README.MD b/FastGithub/README.MD index db68f4a..1653a84 100644 --- a/FastGithub/README.MD +++ b/FastGithub/README.MD @@ -1,10 +1,6 @@ # FastGithub github定制版的dns服务,解析github最优的ip -### 安装根证书 -默认开启github反向代理功能,开启之后dns返回github的ip指向FastGithub自身。 -需要在浏览器所在的设备安装FastGithub.cer到`将所有的证书都放入下载存储\受信任的根证书颁发机构` - ### 本机使用 * 运行FastGithub程序,本机的网络适配器的dns会自动变成127.0.0.1 * 如果网络适配器的dns没有变成127.0.0.1,请手工修改网络适配器的dns @@ -12,6 +8,7 @@ github定制版的dns服务,解析github最优的ip ### 局域网服务器使用 * 在局域网服务器运行FastGithub程序 * 手工修改你电脑的网络适配器的dns,值为局域网服务器的ip +* 在你的电脑安装FastGithub.cer到`将所有的证书都放入下载存储\受信任的根证书颁发机构` ### 以windows服务运行 以管理员身份运行cmd,键入如下命令,其中D:\Softs为软件实际目录 diff --git a/FastGithub/appsettings.json b/FastGithub/appsettings.json index 9fb6915..68e25a3 100644 --- a/FastGithub/appsettings.json +++ b/FastGithub/appsettings.json @@ -5,7 +5,7 @@ "SetToLocalMachine": true // Ƿñʹôdns(֧windows) }, "ReverseProxy": { - "Enable": true, // Ƿʹ÷github, + "Enable": true, // Ƿʹ÷githubԽӱظ "ForwarderRequestConfig": { "Timeout": "00:02:00" // ʱʱ }