bundlewrap/data
CroneKorkN 524ad6e89b
nginx: SSE-friendly proxy_pass + unconditional $connection_upgrade map
Two coupled changes that let every proxy_pass vhost serve both WS and
SSE without per-vhost flags or template conditionals:

1) nginx.conf: $connection_upgrade map is now always defined (drop
   the % if has_websockets: gate), and the '' branch returns "" instead
   of "close". With "" + proxy_http_version 1.1, nginx maintains
   keep-alive to upstream for non-WS clients — which is what SSE
   requires. WS clients still get Connection: upgrade as before.

2) data/nginx/proxy_pass.conf: drop the % if websockets: conditional.
   Always set proxy_http_version 1.1 + Upgrade + Connection via the
   map, plus proxy_buffering off and proxy_read_timeout 1h for SSE.

Effects on existing vhosts:
- home.server's Proxmox WS vhost: unchanged behavior (the WS branch
  was already setting these headers). Gains the ability to also
  serve SSE if ever needed.
- All other proxy_pass vhosts (Nextcloud, Freescout, YOURLS, Gitea,
  etc.): get keep-alive to upstream (minor latency win) and unbuffered
  pass-through (slight throughput cost on huge responses, neutral
  for typical web app traffic).

Dead but harmless: bundles/nginx/metadata.py still defaults
nginx/has_websockets to False, and proxmox-ve/grafana still set it
to True. The flag is now a no-op; clean up in a separate pass.
2026-05-10 22:12:03 +02:00
..
apt/keys update home.server to trixie 2026-03-07 14:41:59 +01:00
freescout freescout 2024-09-05 21:57:33 +02:00
gcloud/service_accounts wip 2021-06-19 12:11:40 +02:00
grafana data/grafana/rows/routeros_*: update names 2026-01-11 14:15:16 +01:00
homeassistant hass more timeout 2024-05-31 16:11:07 +02:00
icingaweb2 fix annoying icingaweb redirect to empty page 2025-07-13 14:04:50 +02:00
lonercrew gitea ci 2022-03-13 18:11:11 +01:00
mailman mailman 2025-06-29 12:37:09 +02:00
mailserver-autodiscover nginx: more managed, hopefully survives updates 2023-07-28 02:34:37 +02:00
nextcloud nginx: more managed, hopefully survives updates 2023-07-28 02:34:37 +02:00
nginx nginx: SSE-friendly proxy_pass + unconditional $connection_upgrade map 2026-05-10 22:12:03 +02:00
roundcube nginx: more managed, hopefully survives updates 2023-07-28 02:34:37 +02:00
steam-chat-viewer bundle steam-chat-viewer 2022-06-01 20:09:28 +02:00
wordpress wp 2024-02-08 10:46:27 +01:00
yourls yourls remove temp leftovers 2025-06-30 09:53:31 +02:00
AGENTS.md docs: scaffold agent-friendly entry points (Phase 1) 2026-05-10 15:44:45 +02:00
network.py wip 2021-06-26 19:59:50 +02:00