From e3fc73dbc591af8746ad43dc706ab61a252c7457 Mon Sep 17 00:00:00 2001 From: fatedier Date: Sat, 17 Jun 2017 18:01:08 +0800 Subject: [PATCH] update doc --- README.md | 2 ++ README_zh.md | 2 ++ conf/frpc_full.ini | 1 + 3 files changed, 5 insertions(+) diff --git a/README.md b/README.md index aff08cd6..20254e6b 100644 --- a/README.md +++ b/README.md @@ -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] diff --git a/README_zh.md b/README_zh.md index 160ca21f..504d2da1 100644 --- a/README_zh.md +++ b/README_zh.md @@ -472,6 +472,8 @@ locations = /news,/about 可以通过设置 `HTTP_PROXY` 系统环境变量或者通过在 frpc 的配置文件中设置 `http_proxy` 参数来使用此功能。 +仅在 `protocol = tcp` 时生效。 + ```ini # frpc.ini [common] diff --git a/conf/frpc_full.ini b/conf/frpc_full.ini index dab0d891..a653fc24 100644 --- a/conf/frpc_full.ini +++ b/conf/frpc_full.ini @@ -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:pwd@192.168.1.128:8080 # console or real logFile path like ./frpc.log