Closed comiconomenclaturist closed 5 months ago
Hi,
The location to which vod_upstream_location refers to must be a proxy_pass
location.
In the sample config you pasted, it should point to /proxy instead of /redirect.
Thanks for the this. I'm making some progress now!
I've compiled nginx with the nginx-vod-module and nginx-aws-auth-module. My nginx.conf contains:
The URL I am using to try and get the HLS manifest is:
http://localhost/content/s3path/file.mp4/master.m3u8
and the error I'm getting is Bad Gateway 502:
2024/05/30 12:15:10 [error] 209#209: *104 ngx_child_request_wev_handler: unexpected, output buffer is null, client: 192.168.65.1, server: _, request: "GET /content/s3path/file.mp4/master.m3u8 HTTP/1.1", host: "localhost"
Am I missing something from the conf? A request to this url works:
http://localhost/redirect/s3path/file.mp4
but obviously without the HLS m3u8 manifest, it's just a direct link to the file in the bucket.