Closed HuYihe2008 closed 2 years ago
绝大多数 http2 实现都是加密的,本模块不支持 http2。 Most of http2 implementations are encrypted, this module does not support http2.
绝大多数 http2 实现都是加密的,本模块不支持 http2。 Most of http implementations are encrypted, this module does not support http2.
那如何解决我无法使用https的问题?
@HuYihe2008 在配置文件里注释掉 http2 即可。
我在使用nginx-http-flv-module时,在配置完成后尝试打开SSL,访问推流发现405NotAllow,是否是模块不支持https
先决条件
nginx的config文件:
user www www; worker_processes auto; error_log /www/wwwlogs/nginx_error.log crit; pid /www/server/nginx/logs/nginx.pid; worker_rlimit_nofile 51200;
stream { log_format tcp_format '$time_local|$remote_addr|$protocol|$status|$bytes_sent|$bytes_received|$session_time|$upstream_addr|$upstream_bytes_sent|$upstream_bytes_received|$upstream_connect_time';
}
events { use epoll; worker_connections 51200; multi_accept on; }
http { include mime.types;
include luawaf.conf;
server { listen 888; server_name phpmyadmin; index index.html index.htm index.php; root /www/server/phpmyadmin;
include /www/server/panel/vhost/nginx/*.conf; }
rtmp_auto_push on; rtmp_auto_push_reconnect 1s;
rtmp { out_queue 4096; chunk_size 512; out_cork 8; max_streams 128; timeout 30s; idle_streams off; drop_idle_publisher 30s;
}
网站的nginx config文件:
server { listen 80 reuseport; listen 443 reuseport ssl http2; server_name live.cscfsx.com; index index.php index.html index.htm default.php default.htm default.html; root /ssd/live.cscfsx.com;
}
开启https后的截图
另外
关于拉流无法在大多数支持flv的网页播放器播放,是否有解决办法? 关于在拉流时发现音频出现电流音,是否与我的服务器带宽有关,带宽为30mbps,服务器的核心数量为28