gnolizuh / BLSS

NGINX-based Live Media Streaming Server
Other
196 stars 73 forks source link

Bad config #115

Open lukas085 opened 5 years ago

lukas085 commented 5 years ago

Hi, I have config which works on nginx-rtmp installation. After install BLSS there is an error:

nginx: [emerg] "application" directive is not allowed here in /usr/local/nginx/conf/nginx.conf:66

There is part of my config where error occurs: ` rtmp { server { listen 1935; ping 30s; notify_method get; drop_idle_publisher 5s; respawn_timeout 2s;

        application livepass {
        live on;
        record off;
        on_publish http://localhost:8080/auth.php;
        notify_method get;

        hls on;
        hls_fragment 10s;
        hls_playlist_length 30s;

        }

    }

} `

What is wrong with 'application' ?