mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-02 04:02:09 +02:00
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.)