https://github.com/pigeonhands/vortex-rs
HTTP Reverse proxy/static web server
https://github.com/pigeonhands/vortex-rs
Last synced: 3 months ago
JSON representation
HTTP Reverse proxy/static web server
- Host: GitHub
- URL: https://github.com/pigeonhands/vortex-rs
- Owner: pigeonhands
- Created: 2020-06-09T10:08:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-09T12:15:23.000Z (almost 5 years ago)
- Last Synced: 2025-01-12T18:11:15.418Z (5 months ago)
- Language: Rust
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vortex-rx
[](https://crates.io/crates/vortex)
```
cargo install vortex
```Example yaml config:
```
addr: 0.0.0.0
port: 8080routes:
- respond:
path: ^/no.*
status-code: 400
content-type: plain/text
body-string: "No"- respond:
path: .*
status-code: 200
content-type: application/json
body-string: >-
{
"Goodnight": "world!"
}
```