Multi-tenant Claude Code monitoring dashboard. FastAPI + PostgreSQL + Docker + SSE real-time updates. Montserrat font, black/#FFC407 color scheme. Apache reverse proxy config at /cc-dashboard/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
807 B
ApacheConf
24 lines
807 B
ApacheConf
# CC Dashboard — Apache reverse proxy config
|
|
# Include this in your VirtualHost for optical-dev.oliver.solutions
|
|
# Requires: mod_proxy mod_proxy_http mod_headers
|
|
|
|
# Enable required modules if not already:
|
|
# a2enmod proxy proxy_http headers
|
|
|
|
<Location /cc-dashboard/>
|
|
ProxyPreserveHost On
|
|
ProxyPass http://127.0.0.1:8800/cc-dashboard/
|
|
ProxyPassReverse http://127.0.0.1:8800/cc-dashboard/
|
|
|
|
# Disable response buffering — critical for SSE
|
|
Header set X-Accel-Buffering "no"
|
|
SetEnv proxy-nokeepalive 1
|
|
SetEnv proxy-sendchunked 1
|
|
|
|
# Allow enough time for SSE connections (heartbeat every 25s, so 60s is fine)
|
|
ProxyTimeout 60
|
|
|
|
# Forward real IP
|
|
RequestHeader set X-Forwarded-For "%{REMOTE_ADDR}s"
|
|
RequestHeader set X-Forwarded-Proto "https"
|
|
</Location>
|