# 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 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"