Wednesday, 15 March 2017

Node.js app on VPS with HTTPS

We have a wordpress website running on VPS (I think it's CentOS, because there's cPanel, and I've used yum for installs). Now, we've added a simple node.js app on same VPS, which just responds to POST requests, but we don't know how to make it available to the Internet. I've set it to work on port 3001, and listens to POSTs on /find endpoint.

Our site is using HTTPS, so this must be served using HTTPS too. And also we're using CloudFlare.

I'v tried experimenting with nginx, but to no avail.

Is there someone who has been in similar situation and cares to help?



via kecman

No comments:

Post a Comment