Browse Source

更新文档

zjcqoo 6 years ago
parent
commit
0c05574629
2 changed files with 14 additions and 26 deletions
  1. 14 4
      README.md
  2. 0 22
      docs/deploy.md

+ 14 - 4
README.md

@@ -1,12 +1,14 @@
 # 演示
 
-https://zjcqoo.github.io/-----https://www.google.com
+https://jsproxy.tk/-----https://www.google.com
 
 (目前仍在更新中,如有问题尝试用隐身模式访问)
 
 
 # 更新
 
+* 2019-05-29 nginx 增加静态资源服务,可同时支持代理接口和首页访问
+
 * 2019-05-27 增加 nio.io、sslip.io 后备域名,减少申请失败的几率
 
 * 2019-05-26 安装时自动申请证书(使用 xip.io 域名),安装后即可预览
@@ -26,12 +28,20 @@ curl -O https://raw.githubusercontent.com/EtherDream/jsproxy/master/i.sh | bash
 
 无法满足上述条件,或想了解安装细节,可尝试[手动安装](docs/setup.md)。
 
+测试: `https://服务器IP.xip.io:8443`(具体参考脚本输出)
+
+
+## 部署
+
+Fork 本项目,进入 `gh-pages` 分支,编辑 `conf.js` 文件:
+
+* 节点列表(`node_map` 字段,包括节点 id 和节点主机)
 
-# 预览
+* 默认节点(`node_default` 字段,指定节点 id)
 
-访问 `https://zjcqoo.github.io#test=服务器IP.xip.io:8443`(参考脚本输出)
+访问 `https://用户名.github.io/jsproxy` 预览。
 
-部署到自己的 github.io 或其他站点,可参考[站点部署](docs/deploy.md)。
+GitHub 支持[自定义域名](https://help.github.com/en/articles/using-a-custom-domain-with-github-pages)。也可以将文件发布到自己的 Web 服务器上
 
 
 # 维护

+ 0 - 22
docs/deploy.md

@@ -1,22 +0,0 @@
-# 站点部署
-
-## 使用自己的 github.io
-
-1.进入 https://github.com/zjcqoo/zjcqoo.github.io 点击 fork。
-
-2.进入 Settings 页面,仓库重命名成 `my.github.io`(假设用户名为 `my`)
-
-3.进入 `conf.js` 文件,参考备注修改:
-
-* 节点列表(`node_map` 字段,包括节点 id 和节点主机)
-
-* 默认节点(`node_default` 字段,指定节点 id)
-
-4.访问 `https://my.github.io` 预览
-
-> 本项目支持子路径。仓库可重命名成任何名字(例如 x),然后创建 `gh-pages` 分支,通过 `https://my.github.io/x` 也能访问。
-
-
-## 使用任意域名
-
-[自定义 github pages 域名](https://help.github.com/en/articles/using-a-custom-domain-with-github-pages),或者将文件发布到其他 Web 服务器上。