准备工具:
nginx
https://download.csdn.net/download/qiuzhihzy123/12433785
ffmpeg
https://download.csdn.net/download/qiuzhihzy123/12433785
下载nginx后,解压nginx,然后修改conf/nginx-win.conf的内容为自己需要的配置,具体如下:
- #user nobody;
- # multiple workers works !
- worker_processes 2;
- #error_log logs/error.log;
- #error_log logs/error.log notice;
- #error_log logs/error.log info;
- #pid logs/nginx.pid;
- events {
- worker_connections 8192;
- # max value 32768, nginx recycling connections+registry optimization =
- # this.value * 20 = max concurrent connections currently tested with one worker
- # C1000K should be possible depending there is enough ram/cpu power
- # multi_accept on;
- }
- http {
- #include /nginx/conf/naxsi_core.rules;
- include mime.types;
- default_type application/octet-stream;
- #log_format main '$remote_addr:$remote_port - $remote_user [$time_local] "$request" '
- # '$status $body_bytes_sent "$http_referer" '
- # '"$http_user_agent" "$http_x_forwarded_for"';
- #access_log logs/access.log main;
- # # loadbalancing PHP
- # upstream myLoadBalancer {
- # server 127.0.0.1:9001 w