Logo Nuxt Stack

Development

Nuxt Stack

Nuxt 3 with SSR, PostgreSQL and a reverse proxy — a production environment for your Vue.js apps.

About Nuxt Stack

The Nuxt Stack template configures your VPS to host a Nuxt 3 application in SSR (Server-Side Rendering) mode in production: Node.js LTS, PM2 for process management, Nginx as a reverse proxy, and PostgreSQL if your application uses a database. Nuxt's performance settings are preconfigured for production.

Hosting Nuxt on your own VPS gives you advantages that Nuxt SaaS hosts cannot: predictable cost, and full access to the machine to run workers, cron jobs or auxiliary services.

What gets installed

Ready when the VPS starts

Compatible OS
Ubuntu 24.04
Application
Nuxt Stack
Tech stack
Node.js LTSPM2NginxPostgreSQL
Minimum RAM
2 GB
Minimum CPU
1 vCPU
Access
root over SSH

Key features

  • Node.js LTS and PM2 for Nuxt SSR
  • Nginx reverse proxy optimized for Nuxt
  • PostgreSQL for apps with a database
  • gzip compression and cache headers preconfigured
  • Automated Nuxt production build
  • Support for Nitro API routes

When to use this solution?

SSR marketing site

A Nuxt 3 application with SSR for optimal SEO and maximum performance.

Full-stack application

Nuxt with its Nitro API routes + PostgreSQL — a backend and a frontend on the same VPS.

Vue.js e-commerce

A Nuxt store with Pinia, server sessions and direct access to your database.

Guide

Deploy Nuxt Stack on your VPS

  1. Create the VPS

    Select the "Nuxt Stack" template. Minimum 2 GB RAM for Nuxt SSR in production.

  2. Deploy your app

    Clone your repository. Run npm ci, then npm run build. The .output folder contains the compiled application.

  3. Start with PM2

    Launch with pm2 start .output/server/index.mjs --name "nuxt-app". Save with pm2 save && pm2 startup.

  4. Configure the domain

    Adjust the Nginx virtualhost with your domain (port 3000 by default for Nuxt). SSL with Certbot.

Frequently asked questions

Questions about Nuxt Stack

← Back to DevelopmentAll applications
Vercel is simpler to set up but bills per request and imposes limits. A VPS offers a fixed cost, no request limits and the freedom to run any auxiliary process.

Embed the deploy button

Maintaining a project that uses Nuxt Stack? This button lets your readers deploy it on a VPS in one click, without reading Docker documentation.

Deploy Nuxt Stack on ServOrbit
Markdown
[![Deploy Nuxt Stack on ServOrbit](https://servorbit.com/brand/deploy/button.svg)](https://servorbit.com/vps-cloud?template=nuxt-stack&utm_source=deploy-badge&utm_medium=referral&utm_campaign=nuxt-stack)
HTML
<a href="https://servorbit.com/vps-cloud?template=nuxt-stack&utm_source=deploy-badge&utm_medium=referral&utm_campaign=nuxt-stack"><img src="https://servorbit.com/brand/deploy/button.svg" alt="Deploy Nuxt Stack on ServOrbit" height="40"></a>

The button points to a VPS order with the template preselected. The image is served from servorbit.com — nothing to host on your side.

Need help?

Browse our help center and FAQ, or reach our team — callback, WhatsApp or email.

Message us on WhatsAppopens in a new tab