Skip to content

andrewosh/tmpnb-redirector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redirector for tmpnb

A simple service that redirects to hosts running tmpnb, with load-balancing based on their current availability.

Run the service:

python redirector.py

Add hosts to be considered for redirection:

curl -X POST -d '{"host": "https://tmpnb.org"}' http://127.0.0.1:9001/hosts

You can remove instances with a DELETE request:

curl -X DELETE -d '{"host": "https://tmpnb.org"}' http://127.0.0.1:9001/hosts

About

Simple HTTP redirector for tmpnb nodes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.1%
  • HTML 3.0%
  • Shell 2.9%