nginx+ffmpeg搭建windows流媒体服务器

准备工具:nginxhttps://download.csdn.net/download/qiuzhihzy123/12433785ffmpeghttps://download.csdn.net/download/qiuzhihzy123/12433785下载nginx后,解压nginx,然后修改conf/nginx-win.conf的内容为自己需要的配置,具体如下:#user nobody; # multiple workers works ! worker_processe.
摘要由CSDN通过智能技术生成

准备工具:

nginx

https://download.csdn.net/download/qiuzhihzy123/12433785

ffmpeg

https://download.csdn.net/download/qiuzhihzy123/12433785

下载nginx后,解压nginx,然后修改conf/nginx-win.conf的内容为自己需要的配置,具体如下:

  1. #user  nobody;
  2. # multiple workers works !
  3. worker_processes  2;
  4.  
  5. #error_log  logs/error.log;
  6. #error_log  logs/error.log  notice;
  7. #error_log  logs/error.log  info;
  8.  
  9. #pid        logs/nginx.pid;
  10.  
  11.  
  12. events {
  13.     worker_connections  8192;
  14.     # max value 32768, nginx recycling connections+registry optimization = 
  15.     #   this.value * 20 = max concurrent connections currently tested with one worker
  16.     #   C1000K should be possible depending there is enough ram/cpu power
  17.     # multi_accept on;
  18. }
  19.  
  20.  
  21. http {
  22.     #include      /nginx/conf/naxsi_core.rules;
  23.     include       mime.types;
  24.     default_type  application/octet-stream;
  25.  
  26.     #log_format  main  '$remote_addr:$remote_port - $remote_user [$time_local] "$request" '
  27.     #                  '$status $body_bytes_sent "$http_referer" '
  28.     #                  '"$http_user_agent" "$http_x_forwarded_for"';
  29.  
  30.     #access_log  logs/access.log  main;
  31.  
  32. #     # loadbalancing PHP
  33. #     upstream myLoadBalancer {
  34. #         server 127.0.0.1:9001 w
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

qiuzhihzy123

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值