为何要设置nginx??因为单纯的点击videojshtml会有Cross-OriginResourceSharing跨域资源共享问题另外rtmp流地址也时时变所以最好用php从mysql里取server{listen;server_name.0.0.1;access_log/var/log/nginx/access.loglogstash_json;location/{rootyourVideojsReferencePage;indexindex1.htmlindex.htmindex.php;}error_page/50x.html;location=/50x.html{roothtml;}}访问地址
转载请注明:http://www.aierlanlan.com/rzfs/8494.html