2025-12-19 01:19:18 +05:30
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
2025-12-24 06:39:10 +05:30
|
|
|
// Enable standalone output for Docker
|
|
|
|
|
output: "standalone",
|
|
|
|
|
|
|
|
|
|
// Image optimization
|
|
|
|
|
images: {
|
|
|
|
|
remotePatterns: [
|
|
|
|
|
{
|
|
|
|
|
protocol: "https",
|
|
|
|
|
hostname: "**",
|
|
|
|
|
},
|
2026-01-24 22:19:30 +05:30
|
|
|
{
|
|
|
|
|
protocol: "http",
|
|
|
|
|
hostname: "localhost",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
protocol: "http",
|
|
|
|
|
hostname: "127.0.0.1",
|
|
|
|
|
},
|
2025-12-24 06:39:10 +05:30
|
|
|
],
|
2026-03-30 08:26:51 +05:30
|
|
|
// Don't proxy external images through Next.js server
|
|
|
|
|
// Avoids SSL cert issues with Contabo S3 (sin1.contabostorage.com)
|
|
|
|
|
unoptimized: true,
|
2025-12-24 06:39:10 +05:30
|
|
|
},
|
2025-12-19 01:19:18 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default nextConfig;
|