Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liberal-boy committed Aug 25, 2020
1 parent cf2f7b5 commit 2f80417
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ vhosts:
# args: 静态网站的文件路径
args: /var/www/html

# trojan: Trojan 协议流量处理方式
trojan:
handler: proxyPass
args: 127.0.0.1:4430

# default: 其他流量处理方式
default:

Expand All @@ -111,6 +116,9 @@ vhosts:
# args: 转发的目标地址
args: 127.0.0.1:40001

# args: 支持通过 Proxy Protocol 将源地址向后端传抵,目前仅支持 v1
# args: 127.0.0.1:40001;proxyProtocol

# args: 也可以使用 domain socket
# args: unix:/path/to/ds/file

Expand Down
10 changes: 9 additions & 1 deletion config.simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ vhosts:
# args: 静态网站的文件路径
args: /var/www/html

# trojan: Trojan 协议流量处理方式
trojan:
handler: proxyPass
args: 127.0.0.1:4430

# default: 其他流量处理方式
default:

Expand All @@ -82,6 +87,9 @@ vhosts:
# args: 转发的目标地址
args: 127.0.0.1:40001

# args: 支持通过 Proxy Protocol 将源地址向后端传抵,目前仅支持 v1
# args: 127.0.0.1:40001;proxyProtocol

# args: 也可以使用 domain socket
# args: unix:/path/to/ds/file

Expand All @@ -93,4 +101,4 @@ vhosts:
# default: 关闭 tlsoffloading 时,目前没有识别方法,均按其他流量处理
default:
handler: proxyPass
args: 127.0.0.1:8443
args: 127.0.0.1:8443

0 comments on commit 2f80417

Please sign in to comment.