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: [
|
2026-08-04 11:30:46 +05:30
|
|
|
{ protocol: "https", hostname: "*.contabostorage.com" },
|
|
|
|
|
{ protocol: "https", hostname: "*.amazonaws.com" },
|
|
|
|
|
{ protocol: "https", hostname: "*.digitaloceanspaces.com" },
|
|
|
|
|
{ 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;
|