문제

Possible Duplicate:
How to set up HTTPS server in Express js (Node.js)?

Is there a convenient way to use ExpressJS (framework for NodeJS) to handle SSL connections?

도움이 되었습니까?

해결책

I think you'd need to configure a reverse proxy (nginx, Apache). This isn't particularly Node-specific; however I haven't tried it yet so I don't know if there are any particular gotchas with Node/Express.

v0.3.4 includes an improved https module, but I believe the Express author has stated that v3, classified an unstable (odd-numbered) release, isn't supported. Of course Node's still in its infancy so instability will be the rule for some time to come.

I asked about this a few days ago:

Node.js + SSL support

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top