rtmp { # abre nginx para escuchar por el puerto server { listen 1935; chunk_size 4096; # dale un nombre a tu aplicacion #log_format combined '$remote_addr [$time_local] $command "$app" "$name" "$args" - $bytes_received $bytes_sent "$pageurl" "$flashver" ($session_readable_time)' application entrada { live on; # enciende HLS hls on; hls_path /var/www/html/canal/; # ajustes de hls hls_fragment 3; hls_playlist_length 60; # para bloquear el directo # quita el comentario de la lĂ­nea siguiente # deny play all; } } }