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>
16 lines
295 B
JavaScript
16 lines
295 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: "cronicas-de-los-reinos",
|
|
script: "serve",
|
|
args: "out -l 3000 --no-clipboard",
|
|
cwd: "/home/PaginaNovelasYRpg",
|
|
env: {
|
|
NODE_ENV: "production",
|
|
},
|
|
max_restarts: 5,
|
|
restart_delay: 3000,
|
|
},
|
|
],
|
|
};
|