traffic_router

Crates.iotraffic_router
lib.rstraffic_router
version0.1.6
sourcesrc
created_at2019-09-11 05:16:32.137448
updated_at2020-07-09 16:18:41.786231
descriptionReverse Proxy / Gateway for http request into several web applications
homepagehttps://github.com/mohankumaranna/traffic_router
repositoryhttps://github.com/mohankumaranna/traffic_router
max_upload_size
id164055
size32,466
Mohan (mohankumaranna)

documentation

README

traffic_router

Routes request into several web applications.

Also, an Async version is available here.

Goal

Intended to avoid Apache web server for such routing.

Setup

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.service - To run this router as a service

Example

This traffic router is used in routing following two web applications; written in Rust/hyper; running in a digital ocean's droplet:

  1. find latest NAV site
  2. login app

Note: It works for http. For https, use NGINX. Refer https-demo for steps to be followed for nginx.

License

MIT

Commit count: 0

cargo fmt