Video wird geladen...
Video konnte nicht geladen werden
📹 Self-Hosting Next.js Learn how to deploy Next.js, Postgres, and Nginx to a $4 VPS with Docker. I'll explain how to use and configure Next.js features like image optimization, caching & ISR, streaming, middleware, server components, and more. Demo app is open source!
568,120 Aufrufe • vor 1 Jahr •via X (Twitter)
10 Kommentare

I ended up yapping about a lot of things: VPS vs. dedicated hardware, tradeoffs vs. managed services, other tools in the community you can use to host, and more! It's kind of long but hopefully helpful 😁

Also on YouTube if you prefer!

Tech Twitter: Vercel is a secret Cabal that doesn't want you to know that you can deploy Next.js to VPS for $5 Vercel: Here is how you can deploy Next.js to VPS for $4

this is awesome! though quite cumbersome you should check out really easy to ship nextjs apps on it

🤣 Well played

👇 Here’s a short video deploying on Hetzner. Start to finish in < 4 minutes (no talking).

What would be the most optimal NGINX config? For example, I would add .next as static router to _next/ so they got Etag cache done correctly.

I include this in the repo/video 😁

Wait shout of to @SST_dev and @coolifyio :O I thought Vercel didn't like SST

@SST_dev @coolifyio I'm appreciative of SST giving us feedback on how to improve self-hosting (some already fixed, still more to go). And I respect the hustle of @heyandras!
Ähnliche Videos
Server-side search with Next.js 13 and server components
Alex Sidorenko
208,520 Aufrufe • vor 2 Jahren


