Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy-router

This is a simple Node.js HTTP reverse proxy server that forwards incoming requests to different ports based on the requested domain / host header. This is useful for having a single web server to host multiple websites or APIs, which can each resolve to a separate process on a different port.

Configuration

  • Zero dependencies!
  • Edit the listening port in proxy-router.js
  • Edit config.js (you can also make changes while the proxy server is running - it will hot reload within a minute)
  • Run node proxy-router

That's it! Enjoy.

About

Forward HTTP requests based on domain/host header

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages