4

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?

Community
  • 1
  • 1
Stephen
  • 7,994
  • 9
  • 44
  • 73
  • 1
    I find it weird that my post was closed when it was there first. Though I do like the answer better on the other post. – Stephen Nov 18 '12 at 03:23
  • Must be frustrating, seeing as the other question got a ton of +1s, so to balance things.... – Gordon Dove Oct 26 '16 at 15:14

1 Answers1

0

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

Community
  • 1
  • 1
TK-421
  • 10,598
  • 3
  • 38
  • 34
  • That's not really what I wanted to hear but it's probably a more reliable way of doing things from the sound of it. – Stephen Jan 16 '11 at 00:49