Skip to content

Commit

Permalink
Update format
Browse files Browse the repository at this point in the history
  • Loading branch information
Yorushika committed May 17, 2018
1 parent 7a6daab commit 889ab64
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ http://host:port/mume
http://host:port/surge [?] [proxyName=$proxyName] [proxyType=$proxyType] [final=$final] [browser] [shadowsocks]
```

生成文档示例
#### 生成文档示例

> [Proxy]
> $proxyName = $proxyType, 127.0.0.1, 1080, username, password
Expand All @@ -56,15 +56,20 @@ http://host:port/surge [?] [proxyName=$proxyName] [proxyType=$proxyType] [final
> FINAL, $final

参数:
#### 参数

> proxyName: 生成规则中所用代理服务器名称,默认GFWListProxy。
> proxyType:代理服务器类别,http、socks5等。
> final:Surge 规则集必须包含的FINAL行,规定当前URL未匹配到规则时的行为。默认DIRECT(直连)。*若不想直连,请指定为现有的proxyName*
> browser:将输出结果添加浏览器用换行符,适合复制后二次编辑。*不要用来直接导入*
> shadowsocks:使用shadowsocks服务器,导入后会提示下载module文件。
> * 激活shadowsocks选项后,无论proxyType指定了何种类型,生成的proxyType强制custom。
> * 若默认地址失效,请在surge_module文件夹中找到module文件并自行部署。
proxyName: 生成规则中所用代理服务器名称,默认GFWListProxy。

proxyType:代理服务器类别,http、socks5等。

final:Surge 规则集必须包含的FINAL行,规定当前URL未匹配到规则时的行为。默认DIRECT(直连)。*若不想直连,请指定为现有的proxyName*

browser:将输出结果添加浏览器用换行符,适合复制后二次编辑。*不要用来直接导入*

shadowsocks:使用shadowsocks服务器,导入后会提示下载module文件。

* 激活shadowsocks选项后,无论proxyType指定了何种类型,生成的proxyType强制custom。
* 若默认地址失效,请在surge_module文件夹中找到module文件并自行部署。

## Copyrights

Expand Down

0 comments on commit 889ab64

Please sign in to comment.