mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-02 14:49:33 +02:00
41 lines
497 B
Nginx Configuration File
41 lines
497 B
Nginx Configuration File
|
|
||
|
#user nobody;
|
||
|
worker_processes 1;
|
||
|
|
||
|
error_log logs/error.log debug;
|
||
|
#error_log logs/error.log notice;
|
||
|
#error_log logs/error.log info;
|
||
|
|
||
|
#pid logs/nginx.pid;
|
||
|
|
||
|
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
}
|
||
|
|
||
|
|
||
|
rtmp {
|
||
|
|
||
|
server {
|
||
|
|
||
|
listen 1935;
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
http {
|
||
|
|
||
|
server {
|
||
|
|
||
|
# testing framework
|
||
|
# based on flowplayer (http://flowplayer.org)
|
||
|
|
||
|
listen 8080;
|
||
|
|
||
|
location / {
|
||
|
root /home/rarutyunyan/nginx-rtmp-module/test/www;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|