关于Nginx的Push_stream module
nginx吧
全部回复
仅看楼主
level 1
kevin202121 楼主
根据项目需要,最近基于nginx安装了nginx-push-stream-module,编译配置都OK,使用curl进行订阅发布时候出现如图所示的错误:
排查了好久,都没解决,不知是什么原因,希望大家帮忙解答,愿闻其详。
2016年02月02日 12点02分 1
level 1
我现在也是刚刚在nginx里面添加订阅发布模块。按照你给出的错误提示,是你的nginx.conf中,没有配置/sub/my_channel_1这样的url或者没有配置正确,所以提示错误404 NOT FOUNT。
location ~ /sub/(.*) {
# activate subscriber (streaming) mode for this location
push_stream_subscriber;
# positional channel path
push_stream_channels_path
$1;
}
location配置的是正则匹配的。
2016年12月09日 06点12分 2
1