X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=filesystem%2Fetc%2Fnginx%2Fconf.d%2Frtmp.conf;fp=filesystem%2Fetc%2Fnginx%2Fconf.d%2Frtmp.conf;h=4a47eda8cf2fb7cbfbbf2d0b0cecf652e18e9348;hp=0000000000000000000000000000000000000000;hb=89a1a98bb918fdf856d34900610413c79e32897e;hpb=e168eaa6f27cc556b7edfb9148f80905d26e21f6 diff --git a/filesystem/etc/nginx/conf.d/rtmp.conf b/filesystem/etc/nginx/conf.d/rtmp.conf new file mode 100644 index 0000000..4a47eda --- /dev/null +++ b/filesystem/etc/nginx/conf.d/rtmp.conf @@ -0,0 +1,13 @@ +# 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; + } + } +}