How to create a proxy to redirect http requests to https using node.js?

This does not feel like a CI question. While I don’t think such questions are forbidden here, you would probably have more luck on Stack Overflow.