Add Apache WebSocket timeout settings for wirecore
Changes:
- ProxyTimeout: 3600 seconds (1 hour keep-alive)
- ProxyBadHeader: Ignore (handle P2P gateway quirks)
Fixes repeated WebSocket disconnections (NS_ERROR_WEBSOCKET_CONNECTION_REFUSED).
Default Apache proxy timeout (300s) was too short for long-lived WebSocket
connections over P2P VPN with ~89ms latency.
Apply with:
sudo cp /tmp/000-default-le-ssl.conf /etc/apache2/sites-available/000-default-le-ssl.conf
sudo apache2ctl configtest && sudo systemctl reload apache2
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
3e1af9fa2fc12d87ae228a95d59ece017adc444e
by plankatron <fleeky@gmail.com> · 2026-01-19T20:04:58.000Z