Automatic reverse proxy with let's encrypt.
All requests received will be create a reverse proxy to an regular http server
SSL will be generated with let's encrypt for each host in requests.
This is very useful to put that app in front an web server that only has support for http
npm install -g sslize
First register the domain[s] to use:
```
npx greenlock add --subject domain.com --altnames domain.com
```
then start the sslize
```
sslize email protocol://host:port productionServer(true|false)
```
```
npx greenlock add --subject domain.com --altnames domain.com
sslize john@example.com http://destination-server.com:8080 false
```
This command will start a webserver on port 80 and 443 to receive the incoming connection then register the ssl if necessary then connect it to the destination, in our case http://destination-server.com:8080, but it could be another webserver as well.
sslize john@example.com http://destination-server.com:8080 true
Only use the productionServer only when you have sure that will work, first test with staging server, setting the last argument to false
https://www.npmjs.com/package/greenlock
https://git.rootprojects.org/root/greenlock.js.git
https://git.rootprojects.org/root/greenlock.js/issues/29
https://git.rootprojects.org/root/greenlock-express.js
https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples
https://github.com/fernandobhz/sslize/blob/00580e97ac2cd6402ba912d915ca975fbc33eb73/sslize.js