Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snail007 committed Jul 23, 2021
1 parent 2f417a8 commit 4ba2f2f
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 11 additions & 0 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) ,里面有完整配置说明。

17 changes: 16 additions & 1 deletion docs/manual/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 11 additions & 0 deletions docs/manual/zh/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) ,里面有完整配置说明。

0 comments on commit 4ba2f2f

Please sign in to comment.