Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier committed Jun 17, 2017
1 parent f884e89 commit e3fc73d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ Http requests with url prefix `/news` and `/about` will be forwarded to **web02*

frpc can connect frps using HTTP PROXY if you set os environment `HTTP_PROXY` or configure `http_proxy` param in frpc.ini file.

It only works when protocol is tcp.

```ini
# frpc.ini
[common]
Expand Down
2 changes: 2 additions & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@ locations = /news,/about

可以通过设置 `HTTP_PROXY` 系统环境变量或者通过在 frpc 的配置文件中设置 `http_proxy` 参数来使用此功能。

仅在 `protocol = tcp` 时生效。

```ini
# frpc.ini
[common]
Expand Down
1 change: 1 addition & 0 deletions conf/frpc_full.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ server_addr = 0.0.0.0
server_port = 7000

# if you want to connect frps by http proxy, you can set http_proxy here or in global environment variables
# it only works when protocol is tcp
# http_proxy = http://user:[email protected]:8080

# console or real logFile path like ./frpc.log
Expand Down

0 comments on commit e3fc73d

Please sign in to comment.