Files
XC_VM/lb_configs
Divarion_D 4056d9349e fix(lb): restore streaming X-Accel locations in LB nginx.conf (Phase G)
The LB build overrides bin/nginx/conf/nginx.conf with lb_configs/nginx.conf
(Makefile: cp $(CONFIG_DIR)/nginx.conf ...), and that file had drifted stale —
it lacked ALL three streaming X-Accel internal locations that the main nginx.conf
carries. On a freshly-installed LB node this breaks:
  - P1 HLS: segment.php always emits X-Accel-Redirect: /xc_hls/<file> -> 404
  - P2 live fan-out: live.php emits /xc_fanout/<id> -> 404
  - P2/B daemon HLS segments: /xc_fanout_hls/<id>_<seq> -> 404
i.e. daemon delivery (and even plain on-disk HLS) never worked on a stock LB —
matching the canary LB, whose nginx.conf 'predated' these and was patched by hand.

Add the three internal locations verbatim from the main nginx.conf so a stock
'make lb' node serves HLS + daemon fan-out out of the box. (libogg0 is already in
LbInstallFlow::getPackages for every distro; service starts the daemon keepalive +
fanout_sync on any node; fanout_binary/FanoutSync/RootSignals are not LB-stripped.)
2026-08-18 19:52:08 +03:00
..
2025-07-10 20:01:56 +03:00