arraykeys 3 years ago
parent
commit
4ba2f2feee
4 changed files with 54 additions and 2 deletions
  1. 16 1
      README.md
  2. 11 0
      README_ZH.md
  3. 16 1
      docs/manual/manual.md
  4. 11 0
      docs/manual/zh/manual.md

+ 16 - 1
README.md

@@ -2064,4 +2064,19 @@ Client service parameters can use placeholders: `{AGENT_ID}` to refer to the age
 
 For example, client service parameters:
 
-`client -T tcp -P 1.1.1.1:30000 --k {AGENT_ID}`
+`client -T tcp -P 1.1.1.1:30000 --k {AGENT_ID}`
+
+## 12. http, https website reverse proxy
+
+The proxy can reverse proxy http and https websites.
+
+The supported features are as follows:
+- http and https are converted to each other.
+- multiple upstream.
+- upstream load balance.
+- upstream high available.
+- path mapping.
+- path protection.
+- alias names of bindings.
+
+For detail usage, please refer to the configuration file [rhttp.toml](https://github.com/snail007/goproxy/blob/master/rhttp.toml), which has a complete configuration description.

+ 11 - 0
README_ZH.md

@@ -2179,7 +2179,18 @@ client服务参数里面可以通过使用占位符:`{AGENT_ID}`引用agent的
 2.如果使用了代理参数`-u`,务必设置唯一标示参数`-i`,不然cluster无法区分不同的agent,agent将不能正常工作。
 
 
+## http、https 网站反向代理
 
+proxy可以对 http 和 https 网站进行反向代理。
 
+支持特性如下:
+- http和https相互转换。
+- 多个后端。
+- 多个后端负载均衡。
+- 多个后端高可用。 
+- 目录映射转发。
+- 路径保护。
+- 绑定的域名,可以另外指定别名。
 
+具体使用可以参考配置文件 [rhttp.toml](https://github.com/snail007/goproxy/blob/master/rhttp.toml) ,里面有完整配置说明。
 

+ 16 - 1
docs/manual/manual.md

@@ -1864,4 +1864,19 @@ Client service parameters can use placeholders: `{AGENT_ID}` to refer to the age
 
 For example, client service parameters:
 
-`client -T tcp -P 1.1.1.1:30000 --k {AGENT_ID}`
+`client -T tcp -P 1.1.1.1:30000 --k {AGENT_ID}`
+
+## 12. http, https website reverse proxy
+
+The proxy can reverse proxy http and https websites.
+
+The supported features are as follows:
+- http and https are converted to each other.
+- multiple upstream.
+- upstream load balance.
+- upstream high available.
+- path mapping.
+- path protection.
+- alias names of bindings.
+
+For detail usage, please refer to the configuration file [rhttp.toml](https://github.com/snail007/goproxy/blob/master/rhttp.toml), which has a complete configuration description.

+ 11 - 0
docs/manual/zh/manual.md

@@ -1963,7 +1963,18 @@ client服务参数里面可以通过使用占位符:`{AGENT_ID}`引用agent的
 2.如果使用了代理参数`-u`,务必设置唯一标示参数`-i`,不然cluster无法区分不同的agent,agent将不能正常工作。
 
 
+## http、https 网站反向代理
 
+proxy可以对 http 和 https 网站进行反向代理。
 
+支持特性如下:
+- http和https相互转换。
+- 多个后端。
+- 多个后端负载均衡。
+- 多个后端高可用。 
+- 目录映射转发。
+- 路径保护。
+- 绑定的域名,可以另外指定别名。
 
+具体使用可以参考配置文件 [rhttp.toml](https://github.com/snail007/goproxy/blob/master/rhttp.toml) ,里面有完整配置说明。