cli-proxy-0.1.1 is not a library.
proxy
command-line proxy server
Note, this is intended for development purposes as a quick stand-in for a real proxy server.
Installation
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 theupdate
feature proxy self update
Usage
# - proxy requests to `localhost:3002`
# - listen on `localhost:3000`
# - serve requests starting with `/static/` from the relative path `static/`
# - serve requests starting with `/media/` from the absolute path `/abs/path/to/media
# - serve requests starting with `/assets/` from the relative path `assets`