fix: switch to static export and nginx for reliable CSS serving

Node-based static servers (serve, http-server) were returning 404 for
CSS files. Switched to output: "export" in Next.js config and nginx
as the production static file server.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
consultoria-as
2026-02-17 21:37:22 +00:00
parent 2e3f688d4f
commit f83dce31c7
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
output: "export",
};
export default nextConfig;