Node.js and Go apps as first-class websites in VinzaPanel

Node.js Deploy and Go Deploy turn your app into a systemd service behind Nginx, Apache2 or OpenLiteSpeed, with environment variables, resource limits, push-to-deploy webhooks, rollbacks and logs, all from the website page.

26 Nov 2026 4 min read 32 views
Node.js and Go apps as first-class websites in VinzaPanel
Share

Most control panels are built around PHP. When your project is an Express API, a Fastify service or a compiled Go binary, you usually end up outside the panel: writing systemd units by hand, editing reverse-proxy rules, keeping secrets in a shell profile and SSHing in to restart things after every push. VinzaPanel treats Node.js and Go applications as websites in their own right, with the same create form, the same per-site page and the same ownership rules as any PHP site.

Create the site with the runtime you need

Under Server → Websites, the Create Website form offers a Node.js runtime once the Node.js Deploy app is active, and a Go runtime once Go Deploy is installed. Saving takes you straight to the app's deploy page, and the site shows a holding page until the first deploy.

  • Node.js: pick a starter framework (Express, Fastify or plain http) and a Node.js version, and optionally let the panel create a project skeleton and run npm install. Existing code is never overwritten.
  • Go: put your code with its go.mod in the site folder. The Build tab shows whether go.mod was found, the Go version and the binary, and Build runs go mod download and go build as the site's Linux user.

Node.js versions are managed with nvm under /opt/nvm. Administrators install LTS majors (22, 20 and 18) on Server → Node.js, and an Updates card shows majors that are behind the newest release. Go Deploy does not install the Go toolchain itself; it looks for go in the usual locations and warns when it is missing.

A real systemd service behind your web server

Your app only has to listen on the port in the PORT environment variable, on 127.0.0.1. On the Deployment tab you check the entry point (detected for you), leave the port on automatic to get a free one (8300–8399 for Node.js, 8400–8499 for Go), and press Preview service to read the exact unit before anything is written.

Deploy then writes the unit to /etc/systemd/system/ (vp-node-<domain>.service or vp-go-<domain>.service), enables and starts it, and switches the site's vhost to proxy to it. This works with whichever web server the site uses: Nginx, Apache2 or OpenLiteSpeed. If the service fails to start, the deploy tells you instead of reporting success.

The process runs under the site owner's Linux account, not as root. Start, Stop, Restart and Logs sit on the deploy page; Node.js output is kept in ~/logs/<domain>-node.log in the owner's home. Deleting the website removes its service automatically.

Environment variables and resource limits

Configuration lives on the app's Configuration tab rather than in files you have to find:

  • Environment: add variables and save them. They are stored in a file only the site's account can read, loaded by systemd, and hidden after saving. PORT is set by the panel. For Go apps the variables are also passed to Git deploy builds, and you can restart the app as part of saving.
  • Limits: an administrator sets a soft and a hard memory limit and a CPU quota per app. For Node.js there is also the heap size (--max-old-space-size through NODE_OPTIONS, defaulting to 75% of the hard memory limit). For Go, GOMEMLIMIT follows the hard limit at 90%, and you can set the GC target. Website owners see these limits read-only.
  • Static & Media: let the web server serve static or uploaded folders directly by pointing a URL prefix at a folder.

Push to deploy, with rollbacks

Both apps have a Git tab. Link a repository and branch (https:// for public repositories, or git@host:owner/repo.git with a generated deploy key for private ones; credentials in the URL are refused) and press Deploy now. The branch is fetched, the app folder is reset to it, and then:

  • for Node.js, npm install runs, followed by npm run build when package.json has a build script;
  • for Go, the binary is rebuilt;
  • the app is restarted. Every step runs as the site's account.

Push to deploy gives each app its own webhook URL and HMAC secret for GitHub, GitLab or Bitbucket. Unsigned requests are refused and only pushes to the linked branch deploy. The Releases list keeps the recent deploys, and you can roll back to one of the last five successful ones. A Go rollback re-activates the binary kept for that release, and rebuilds from the commit only if the binary is gone.

If the app has queue workers run by Supervisor, flag them with Restart after a deploy and a successful deploy restarts them too.

Who can do what

Go deploys are an administrator task. With Node.js Deploy, a website owner can deploy their own Node.js site within the versions the administrator has installed, and everything they do is confined to their own site and runs as their account. On a multi-server setup, a hosting account that lives on a Vinza Server node gets its Node.js steps (npm, the systemd unit, the web-server rules) run on that node.

Get started

Install Node.js Deploy or Go Deploy from the Vinza Store (Node.js Deploy can also be ticked in the first-login setup wizard). Both are included with every paid plan, from Starter up; see Pricing. Then create a website with the matching runtime under Server → Websites. The step-by-step guides are Deploying Node.js Apps and Deploying Go Apps, and Supervisor & Background Workers covers the workers that go with them.