# traffic_router Routes request into several web applications. Also, an **Async** version is available [here](https://github.com/mohankumaranna/traffic_router_async). ## 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](http://nav.eastgate.in) 2. [login app](http://login_app.eastgate.in) __Note__: It works for http. For https, use __NGINX__. Refer [https-demo](https://github.com/mohankumaranna/https_demo) for steps to be followed for _nginx_. ## License MIT