- Apache reverse proxy config (replaces nginx — server already runs Apache) - Next.js basePath set to /amazon-transcreation for subpath deployment - Frontend on port 3050 (3000 taken), backend on 8040 - WebSocket URL auto-detects protocol from page location - Deploy script handles Apache config injection into existing vhost - All Docker ports bound to 127.0.0.1 (Apache handles external access) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
305 B
JavaScript
11 lines
305 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
|
|
assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH || '',
|
|
images: {
|
|
domains: ['localhost', 'optical-dev.oliver.solutions'],
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|