{{ ansible_header | comment }}

rtmp {
    server {
        listen 1935;
        chunk_size 4096;
        application live {
            live on;
            hls on;
            hls_path /var/www/stream/hls/;
            hls_fragment 3;
            hls_playlist_length 20;

            record off;
        }
    }
}