Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user root;
- worker_processes 1;
- events {
- worker_connections 1024;
- }
- http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
- sendfile on;
- keepalive_timeout 65;
- server {
- listen 80;
- server_name localhost;
- location /stat {
- rtmp_stat all;
- rtmp_stat_stylesheet stat.xsl;
- }
- location /stat.xsl {
- root /usr/src/nginx-rtmp-module;
- }
- # rtmp control
- location /control {
- rtmp_control all;
- }
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root html;
- }
- }
- }
- rtmp {
- server {
- listen 1935;
- #chunk_size 8192;
- ping 30s;
- notify_method get;
- application rtmp{
- live on;
- }
- }
- }
Add Comment
Please, Sign In to add comment