- httpdocs içinde:
- package.json
- next.config.js
- .next (build sonrası)
- server.js (Seçenek B kullanıyorsan)
- npm install ve npm run build çalışmış olacak.
- Plesk Node.js:
- Application root: httpdocs
- Startup file: server.js veya App startup komutu: npm start
- NODE_ENV=production
- PORT ile next start aynı portu kullanıyor.
- Node.js versiyonu Plesk’te de gerçekten 24.x olarak seçili.
Plesk'te Next.js için doğrudan node_modules/.bin/next kullanmak yanlış.
demiş chatgpt 5