test-runner / smoke (push) Canceled after 0s
Authelia's forward-auth endpoint was handed the original Content-Length header of the client request but not the body itself, so it blocked reading bytes that never arrived and finally answered 408. auth_request cannot classify 408, so nginx reported it to the client as 500 + an HTML error page, and the frontend surfaced "Server returned non-JSON" on every upload. Every bodied POST was affected (JSON upload and zip ingest) while plain GETs kept working, which is why the page loaded fine but uploads failed. Payload size was irrelevant: a 60-byte body failed identically to a 300 KB one. With `proxy_pass_request_body off` and an empty Content-Length, Authelia authorises on the forwarded headers alone, which is all forward-auth needs. Applied to both "= /authelia" blocks (vtimeline.zeroq.su and tty.zeroq.su). Verified on a reproduction bench mirroring the production vhost: bodied POSTs went 500 (HTML, 6 s timeout) -> 201 (JSON, ~10 ms).