docs(okf): replace Cloudflare Tunnel with own nginx reverse proxy

direction change: own nginx proxy (Terraform-installed, certbot TLS) is the only public entry; add own-proxy decision; update system, gateway SSE notes, server budget and accepted-downtime docs
This commit is contained in:
Noel Sabia committed 2026-10-14 21:54:33 +02:00
1 parent e432895080
commit 3636053a35
8 files changed
+47 -14

No files matched your search

+4 -3
View File
@@ -38,10 +38,11 @@ The same stream feeds the life map and the developer view.
- **Global limit:** `golang.org/x/time/rate`, for example 1 fall per second with burst 3.
- Knockdowns are shared state on purpose: every viewer sees "someone just knocked down X".
# Cloudflare Tunnel and SSE
# nginx proxy and SSE
- Send `Content-Type: text/event-stream` and flush after every message.
- Send a comment line (`: ping`) every 30 seconds so idle connections are not closed.
- Terminate SSE at the gateway; nginx proxies it per-connection with buffering off (`proxy_buffering off`).
- Send a comment line (`: ping`) every 30 seconds so idle connections are not closed
through nginx's default read timeout.
# Tracker