Sites
Node.js support
Run Next.js, Nuxt, Express, NestJS or any other Node.js application on your own servers.
Your Node.js app, always running
Pick Node.js as the project type and Ploi gives the site its own port with NGINX in front of it. Spawn the app with PM2 or Supervisor, and Ploi restarts it after every deployment.
Service
pm2
Host
localhost
Port
3001
Start command
npm start
Restart after deployment
Restart the process when a deploy finishes
Recent logs
> next start -p 3001
✓ Ready on http://localhost:3001
How Ploi runs a Node.js site
The same server, the same panel, next to your Laravel and WordPress sites
PM2 or Supervisor
Choose the process manager that runs your start command. Ploi installs PM2 the first time you pick it.
NGINX and SSL in front
Every Node.js site gets its own port. NGINX proxies your domain to it, with free Let's Encrypt certificates.
Restart after deploys
Push to your repository, the deploy script installs and builds, and Ploi restarts the process when it is done.
What you get with every Node.js site
- Your own start command and arguments, npm start by default
- Host and port settings that NGINX proxies to
- Recent logs of the process in the panel, and error logs with PM2
- Automatic deployments on git push from GitHub, GitLab or Bitbucket
- Node.js 24 from NodeSource, with npm, on new servers
- Server insights that flag an outdated Node.js and vulnerable npm packages
Keep Node.js up to date
Ploi watches the runtime and your dependencies, so you don't have to
Questions
Which frameworks work?
Anything you start with a command that listens on a port: Next.js, Nuxt, Remix, Astro in server mode, Express, NestJS, Fastify and so on. Point it at the port from the NodeJS tab and NGINX does the rest.
Should I use PM2 or Supervisor?
Both keep your app running and restart it when it crashes. Supervisor also starts it again after a reboot without extra setup. With PM2, follow this guide to have it start on boot.
Which Node.js version is installed?
New servers get Node.js 24 from NodeSource, with npm. You can upgrade to another version at any time.
Can a server run Node.js and PHP sites together?
Yes. Each Node.js site gets its own port, so it runs next to your Laravel, WordPress and other sites on the same server.