add secure token module to NGINX in order to pass authSig down to segment files

This commit is contained in:
Jason Hunter
2021-07-12 21:54:12 -04:00
committed by Blake Blackshear
parent fc40567794
commit 8fd12f001b
3 changed files with 12 additions and 5 deletions

View File

@@ -71,6 +71,9 @@ http {
location /vod/ {
vod hls;
secure_token $args;
secure_token_types application/vnd.apple.mpegurl;
add_header Access-Control-Allow-Headers '*';
add_header Access-Control-Expose-Headers 'Server,range,Content-Length,Content-Range';
add_header Access-Control-Allow-Methods 'GET, HEAD, OPTIONS';