This commit is contained in:
Iliyan Angelov
2025-11-25 20:18:23 +02:00
parent 8823edc8b3
commit e639736187
16 changed files with 190 additions and 61 deletions

View File

@@ -3,8 +3,10 @@ const nextConfig = {
// Enable standalone output for optimized production deployment
output: 'standalone',
images: {
// Enable image optimization in standalone mode
unoptimized: false,
// Disable image optimization - nginx serves images directly
// This prevents 400 errors from Next.js trying to optimize relative URLs
// Images are already optimized and served efficiently by nginx
unoptimized: true,
remotePatterns: [
{
protocol: 'http',