mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
Remove old http-proxy, use the full version as the official http-proxy example (closes #164)
This commit is contained in:
@ -1,13 +1,10 @@
|
||||
## Http proxy example
|
||||
## HTTP Full proxy example
|
||||
|
||||
To start proxy server:
|
||||
This is a relatively simple HTTP proxy, forwarding HTTP requests to another HTTP server, including
|
||||
request body, headers, and streaming uploads.
|
||||
|
||||
```sh
|
||||
cargo run --bin proxy
|
||||
```
|
||||
|
||||
To start local backend server:
|
||||
|
||||
```sh
|
||||
cargo run --bin proxy-example-server
|
||||
To start:
|
||||
|
||||
``` shell
|
||||
cargo run <listen addr> <listen port> <forward addr> <forward port>
|
||||
```
|
||||
|
Reference in New Issue
Block a user