# based on https://opensource.com/article/19/1/basic-live-video-streaming-server#comments # and https://github.com/arut/nginx-rtmp-module/wiki/Directives rtmp { allow publish 127.0.0.1; deny publish all; server { listen 1935; application live { live on; record off; } } }