Skip to content
ohsudo, Home

Tags

#nextjs

Next.js
Networking

Nginx for Next.js: a production config with HTTPS, caching and standalone builds

Run Next.js behind Nginx: a complete config with HTTPS and long caching for _next/static, the standalone build, a systemd service, and the errors people run into.

Intermediate · 3 min read