https://github.com/splurf/rp-rs
Minimalistic Reverse Proxy
https://github.com/splurf/rp-rs
reverse-proxy rust rustls tokio-rs
Last synced: about 1 year ago
JSON representation
Minimalistic Reverse Proxy
- Host: GitHub
- URL: https://github.com/splurf/rp-rs
- Owner: splurf
- Created: 2022-11-22T22:45:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T22:45:35.000Z (over 3 years ago)
- Last Synced: 2025-01-25T08:25:29.078Z (over 1 year ago)
- Topics: reverse-proxy, rust, rustls, tokio-rs
- Language: Rust
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rp-rs
An extremely simple low-functionality reverse proxy with minimum TLS support
## Configuration
There's a singular configuation file that needs to be modified. It should be named `config.txt` and will should look like this:
```
80
server: localhost
paths:
/donut => localhost:8888
443
server: localhost
paths:
/ => localhost:444
ssl:
certificate: sample.pem
certificate_key: sample.rsa
```
## Usability
#### Build
```bash
cargo build --release
```
#### Run
```bash
sudo ./target/release/rp-rs
```