Skip to content

piranna/nodeos-reverse-proxy-register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

nodeos-reverse-proxy-register

Register a priviledged port or a domain address on the NodeOS reverse proxy

How to use it

nodeos-reverse-proxy-register transparently piggy-back on top of the Node.js build-in dgram and net modules to send a request to nodeos-reverse-proxy to register ports when calling the .bind() and .listen() methods, and unregister automatically when they get clossed. For domains, since there's no standard way to register them on Node.js it's needed to do it by hand by calling to the exported register() and unregister() functions.

How it works

Communications with nodeos-reverse-proxy are done using POST requests to the urls http://127.0.0.1/_register and http://127.0.0.1/_unregister, that later are filtered by it to only allow requests from the own machine.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published