Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snail007 committed Nov 24, 2021
1 parent 68a23a9 commit 7f09a70
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -2474,4 +2474,11 @@ timeout=5000
1. 在1.1.1.1的VPS执行:`proxy rhttp -c github.toml`
2. 访问 `http://1.1.1.1:7777/snail007/` ,如果一切正常,就把命令加上后台运行参数即可。
3. 命令改成:`proxy rhttp -c github.toml --daemon --log /tmp/github.log`
4. 此功能需要`proxy`版本大于等于`v11.2`
4. 此功能需要`proxy`版本大于等于`v11.2`

如果是想使用域名比如a.com,那么:
1. 把a.com解析到IP 1.1.1.1。
2.`bind="http://1.1.1.1:7777/"` 改成 `bind="http://a.com:7777/"`
3. 访问 `http://a.com:7777/snail007/` 即可。
4. 如果想使用默认80端口,配置bind为 `bind="http://a.com/"`
5. 访问 `http://a.com/snail007/` 即可。
9 changes: 8 additions & 1 deletion docs/manual/zh/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -2253,4 +2253,11 @@ timeout=5000
1. 在1.1.1.1的VPS执行:`proxy rhttp -c github.toml`
2. 访问 `http://1.1.1.1:7777/snail007/` ,如果一切正常,就把命令加上后台运行参数即可。
3. 命令改成:`proxy rhttp -c github.toml --daemon --log /tmp/github.log`
4. 此功能需要`proxy`版本大于等于`v11.2`
4. 此功能需要`proxy`版本大于等于`v11.2`

如果是想使用域名比如a.com,那么:
1. 把a.com解析到IP 1.1.1.1。
2.`bind="http://1.1.1.1:7777/"` 改成 `bind="http://a.com:7777/"`
3. 访问 `http://a.com:7777/snail007/` 即可。
4. 如果想使用默认80端口,配置bind为 `bind="http://a.com/"`
5. 访问 `http://a.com/snail007/` 即可。

0 comments on commit 7f09a70

Please sign in to comment.