@MuZo@outime Trying to do it with just Express, I considered the reverse proxy option. If I can't get it working I'll probably put my domain under cloudflare and enjoy their free wildcard SSL certificate and use that as a "proxy" to my non-ssl server.
Comments
You can put nginx as reverse proxy for express
You can specify the certs in express.js itself or you can do what @MuZo suggested and place them there.
@MuZo @outime Trying to do it with just Express, I considered the reverse proxy option. If I can't get it working I'll probably put my domain under cloudflare and enjoy their free wildcard SSL certificate and use that as a "proxy" to my non-ssl server.
It's quite straightforward, look at this for instance: http://heyrod.com/snippet/s/node-https-ssl.html
CloudFlare is your other option indeed if you prefer that.
@outime Thanks, I've got it working now. Had to re-write the code to fix a bug.