redbird

How to configure a secure (HTTPS) domain with Redbird reverse proxy

我与影子孤独终老i 提交于 2019-12-11 03:47:04
问题 I’d like to know how to configure a secure domain with Redbird proxy properly. The basic info is a bit confusing because examples are slightly fragmented. I suppose it should be possible with letsencrypt automatically (as claimed there). I’ve tried: var proxy = require('redbird')({ port:80, ssl: { port: 3000, letsencrypt: { path: '../SSL-certs', } } }); proxy.register('secure-web.net', 'http://xx.xx.xxx.xxx:8080',{ ssl: { letsencrypt: { email: 'my@mail.com' } } }); proxy.register('insecure