Crates.io | traffic_router_async |
lib.rs | traffic_router_async |
version | 0.1.1 |
source | src |
created_at | 2020-03-11 13:22:18.721076 |
updated_at | 2020-07-09 15:26:28.923084 |
description | Reverse Proxy / Gateway for http request into several web applications |
homepage | https://github.com/mohankumaranna/traffic_router_async |
repository | https://github.com/mohankumaranna/traffic_router_async |
max_upload_size | |
id | 217525 |
size | 31,198 |
Routes request into several web applications. Note: This is written based on Hyper's example: gateways
Intended to avoid Apache web server for such routing.
Following three files are needed to configure and run this router:
1. Sites.json - To update web application URLs, PORTs
2. Port-Forwarding.txt - To enable and complete port forwarding processes described in it
3. traffic_router_async.service - To run this router as a service
This traffic router async is used in routing following web applications, in Rust/hyper; running in a digital ocean's droplet:
Note: It works for http. For https, use NGINX. Refer https-demo for steps to be followed for nginx.
MIT