Where to terminate SSL/TLS in Node & Nginx
问题 I'm building a web application using the MEAN stack. The site contains authentication (using passport.js) so I would like to secure our connection with SSL/TLS. For our deployment we're using nginx as a reverse proxy to the Node app running on the same AWS EC2 instance. My question is: With my setup, what is the best practice way to setup an https (SSL/TLS) connection? Should I get a certificate and set it up at the nginx layer? Should I do it in my node app directly? Is there some other