提交 e3fc73db 编写于 作者: F fatedier

update doc

上级 f884e894
...@@ -455,6 +455,8 @@ Http requests with url prefix `/news` and `/about` will be forwarded to **web02* ...@@ -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. 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 ```ini
# frpc.ini # frpc.ini
[common] [common]
......
...@@ -472,6 +472,8 @@ locations = /news,/about ...@@ -472,6 +472,8 @@ locations = /news,/about
可以通过设置 `HTTP_PROXY` 系统环境变量或者通过在 frpc 的配置文件中设置 `http_proxy` 参数来使用此功能。 可以通过设置 `HTTP_PROXY` 系统环境变量或者通过在 frpc 的配置文件中设置 `http_proxy` 参数来使用此功能。
仅在 `protocol = tcp` 时生效。
```ini ```ini
# frpc.ini # frpc.ini
[common] [common]
......
...@@ -6,6 +6,7 @@ server_addr = 0.0.0.0 ...@@ -6,6 +6,7 @@ server_addr = 0.0.0.0
server_port = 7000 server_port = 7000
# if you want to connect frps by http proxy, you can set http_proxy here or in global environment variables # 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:pwd@192.168.1.128:8080 # http_proxy = http://user:pwd@192.168.1.128:8080
# console or real logFile path like ./frpc.log # console or real logFile path like ./frpc.log
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册