M8: WS-Location /ws mit Upgrade-Headern + 3600s Timeouts (NPM custom locations bekommen sie nicht automatisch)

wss://research.ghostnet.selfhost.eu/ws schlug fehl. Verifiziert via NPM-API:
locations / ->8085, /api ->8086, /ws ->8086 mit Upgrade/Connection + auth_request.
site.yml idempotent changed=0.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-18 20:49:53 +01:00
parent 5f2e154979
commit 24c49d39f7
2 changed files with 18 additions and 0 deletions
@@ -200,3 +200,10 @@ Internet → NPM (CT 103, 443) → auth_request-Subrequest an oauth2-proxy
token); nginx-Default-Puffer (4k/8k) reichen nicht. Fix: `proxy_buffer_size
32k; proxy_buffers 8 32k; proxy_busy_buffers_size 64k` in `location /oauth2/`
(derselbe Befund wie GNMON-000 M6 am mon-Host). Nach Fix idempotent deployt.
- **Befund 18.11. (wss://…/ws schlägt fehl):** NPM-Custom-Locations bekommen
die WebSocket-Upgrade-Header nicht automatisch — `location /ws` braucht
`proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";` + lange Timeouts (3600 s) im eigenen
advanced_config. Verifiziert via NPM-API: locations `/`→8085, `/api`→8086,
`/ws`→8086 (upgrade: true, auth: true), host ws_upgrade=true, cert=22.