hi 春哥
我通过以下配置去修改输出header不work
ngx.req.set_header("Content-Type", "application/x-mpegURL")
ngx.req.set_header("Cache-Control", "no-cache")
ngx.req.set_header("Connection", "keep-alive")
ngx.print(m3u8_content)
我看todo list 里有 :是说这个功能现在还不支持吗,有替代的做法吗 谢谢
- add new API function
ngx.resp.add_header
to emulate the standard add_header
config directive.
--
Best Regards,
Harold Miao