Commit Graph
4 Commits
Author SHA1 Message Date
stroblme 68b069dc9c LAN proxy: serve /hooks next to /api, so webhooks and served sockets reach the backend instead of the SPA 2026-10-14 23:24:32 +02:00
Melvin Strobl a5afd88a5e LAN proxy: no 1 MB upload cap 2026-10-14 08:14:19 +02:00
stroblme c5a8f170da Count per-address limits on the hop a trusted proxy added; limit signup
The limits read the leftmost X-Forwarded-For entry, which the client writes,
and the LAN nginx appended to it. The address now comes from uvicorn's
proxy-headers middleware (rightmost hop not in FORWARDED_ALLOW_IPS), applied
in the app too so tunnel-replayed calls resolve the same way; nginx sets the
header to $remote_addr and the compose backend trusts the Docker networks.
/users/signup gets a per-address limit of 10 an hour.
2026-10-06 12:15:58 +02:00
stroblme 3a88182384 Add make dev-lan: the app on a host port, API proxied on the same origin 2026-08-22 09:25:02 +02:00