diff --git a/common/server/nginx-stream.nix b/common/server/nginx-stream.nix index 96a99fc..c46b585 100644 --- a/common/server/nginx-stream.nix +++ b/common/server/nginx-stream.nix @@ -51,7 +51,7 @@ in { appendConfig = '' rtmp { server { - listen 1935; + listen ${cfg.port}; chunk_size 4096; application ${cfg.rtmpName} { allow publish all;