- basePath /dow-prod-tracker, DB name dow_prod_tracker - docker-compose: name: dow-prod-tracker (volume isolation on shared server), ports 3002/5492 - OMG webhook env vars (secret + insecure toggle) - NEXT_PUBLIC_AUTH_ENTRA_ENABLED feature flag (MVP uses local auth) - Dow logo at public/navbar-logo.png - apache/hp-prod-tracker.conf → apache/dow-prod-tracker.conf - Text rebrand across README, SETUP, CLAUDE.md, docs, UI labels Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
21 lines
1.1 KiB
Text
21 lines
1.1 KiB
Text
# ── HP Prod Tracker — Next.js standalone at :3001 ─────────────────────────
|
|
# Managed by deploy.sh — edit this file and redeploy instead of editing
|
|
# /etc/apache2/sites-available/optical-dev.oliver.solutions.conf directly.
|
|
|
|
# Large uploads: video files up to 500 MB (overrides the global 100 MB limit)
|
|
<Location /dow-prod-tracker>
|
|
LimitRequestBody 524288000
|
|
</Location>
|
|
|
|
# WebSocket passthrough (Next.js real-time features)
|
|
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
|
RewriteCond %{HTTP:Connection} upgrade [NC]
|
|
RewriteRule ^/dow-prod-tracker/(.*) ws://127.0.0.1:3001/dow-prod-tracker/$1 [P,L]
|
|
|
|
# Chat + AI endpoints: long timeout for streaming responses
|
|
ProxyPass /dow-prod-tracker/api/chat http://127.0.0.1:3001/dow-prod-tracker/api/chat timeout=300
|
|
ProxyPassReverse /dow-prod-tracker/api/chat http://127.0.0.1:3001/dow-prod-tracker/api/chat
|
|
|
|
# All other routes (must come after more-specific paths above)
|
|
ProxyPass /dow-prod-tracker http://127.0.0.1:3001/dow-prod-tracker
|
|
ProxyPassReverse /dow-prod-tracker http://127.0.0.1:3001/dow-prod-tracker
|