command-line proxy server
Note, this is intended for development purposes as a quick stand-in for a real proxy server.
See releases
,
cargo install cli-proxy
,
Or build from source:
- clone this repo
- cargo build --release
Updates:
- Self update functionality (from github
releases) is available behind --features update
- Binary releases
are compiled with the update
feature
- proxy self update
```bash
localhost:3000
/static/
from the relative path static/
/media/
from the absolute path `/abs/path/to/media/assets/
from the relative path assets
/api/
to localhost:4001
/status/
to localhost:4002
localhost:3002
proxy serve \ --port 3000 \ --static /static/,static/ \ --static /media/,/abs/path/to/media \ -s /assets/,assets \ --sub-proxy /api/,localhost:4001 \ -P /status/,localhost:4002 \ localhost:3002 ```