php-从nginx将参数传递给auth_request模块

php-从nginx将参数传递给auth_request模块

我想转播一个实时HLS流.我想使用auth_request模块.我想通过传递密钥来检查请求是否有效.所以像:http://domain.com/hls/stream.m3u8?key=xxxxxxx我在nginx.conf中具有以下设置:location /hls { alias /tmp/hls; auth_request /hls/auth; }