Securing URLs with Secure Link + HLS
LewisMM
nginx-forum at forum.nginx.org
Wed Aug 31 21:42:27 UTC 2022
Hi,
I make a request with the .m3u8 file with the MD5 Hash and expiration. It
receives a 200 code. Then the m3u8 playlist file tries to load the first
segment in the playlist, however, I receive 403 "Not Authorised" error.
Nginx isn't passing the MD5 hash and expiration to the segment file.
Like so:
http://0.0.0.0:80/video/hls/bunny.m3u8?md5=cAsEEb6J96haWy3CMOSgDg&expires=1672531140
200. Then tries to load segment (which is correct):
http://0.0.0.0/video/hls/bunny.ts
403, forbidden.
It's not passing the hash. It should be 200.
I hope you understand my problem.
Thanks.
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295058,295065#msg-295065
More information about the nginx
mailing list