command-line proxy server
This tool is intended for:
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
Development proxy
```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:4002localhost:3002proxy 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 ```
Static site server
```bash
cargo doc
proxy serve . \
--file /,target/doc/
Static file server
```bash
proxy fs . ```