Skip to content

velocity-9/v9_router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v9_router

CircleCI

Routing Application to handle incoming REST calls

Running the Router

We use the following command line to run the router (obviously your own worker URLs must be provided):

sudo sh -c "export V9_WORKERS='http://v9_w1.example.com;http://v9_w2.example.com';cargo run --release"

This will serve HTTP requests on port 80.

To get HTTPS support, use this command line:

sudo sh -c "export V9_WORKERS='http://v9_w1.example.com;http://v9_w2.example.com';cargo run --release -- --development"

Which sets the router port to be 8080. Then setup an NGINX reverse proxy with HTTPs support to tunnel encrypted traffic to 8080. (We used this guide)

About

Routing Application to handle incoming REST calls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages