Openruko will load balance and route requests to
myapp.mymachine.me to your
HTTP, HTTPS and WebSockets are supported.
git clone https://github.com/Filirom1/httprouting.git httprouting cd httprouting
Install node.js dependencies:
Create certs for HTTPS:
apiserver/bin/apiserver will check for the presence of several environment variables, these must be configured as part of the process start - e.g. configured in supervisord or as part of boot script see ./apiserver/conf.js
- PG_USER - Your login name, unless you set something else.
- HTTPROUTING_TLS - Set to true if you want HTTPS
$ cat > .env << EOF PG_USER=$YOUR_LOGIN_NAME EOF foreman start
Help and Todo
This is just a quick and dirt reverse proxy, we can do things a lot better.
httprouting and other openruko components are licensed under MIT.
Authors and Credits