how to use VestaCP with Node.JS support.

2
(4)

Run Node.JS web apps automatically using NGINX reverse proxy, UNIX sockets and PM2.

Usage.

  • PM2 must be installed.
  • The app must be installed in /home/user/web/domain/nodeapp/
  • The app entry point must be /home/user/web/domain/nodeapp/app.js
  • The app must listen on a UNIX socket in /home/user/web/domain/nodeapp/app.sock
  • Upload NodeJS.tplNodeJS.stplNodeJS.sh to /usr/local/vesta/data/templates/web/nginx/
  • In the control panel, select NodeJS from Proxy Template

Template files download: https://github.com/logico/vestacp-nodejs

Similar Posts:

2,799

How useful was this post?

Click on a star to rate it!

Average rating 2 / 5. Vote count: 4

No votes so far! Be the first to rate this post.

Scroll to Top