Debian 12 >> ISPConfig >> NGINX >> RTMP

Discussion in 'Installation/Configuration' started by HappierTimesAhead, Jul 17, 2025 at 7:00 PM.

  1. HappierTimesAhead

    HappierTimesAhead Member HowtoForge Supporter

    Hi Guru's,
    I am having an issue getting RTMP to work with Debian 12 - mainly it appears that exec ffmpeg is not firing?
    I also have a Ubuntu 24 >> ISPConfig >> NGINX >> RTMP and this work flawlessly!
    In both cases I added 'apt install libnginx-mod-rtmp'
    Port 1935 is open on both installs
    Eventually I want to add RTMP to a production ISPConfig Server without casuing issues!
    My question is should I recompile Debian 12 NGINX from source and add in --add-module=./nginx-rtmp-module?
    I am no expert in compiling software but would I be safe to: -
    On the Debian 12 box should I issue 'ngnix -V' and note the current compiled information , namely
    Code:
    ./configure \
    --with-cc-opt='-g -O2 -ffile-prefix-map=/build/reproducible-path/nginx-1.22.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=stderr --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-compat --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_secure_link_module --with-http_sub_module --with-mail_ssl_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_realip_module --with-http_geoip_module=dynamic --with-http_image_filter_module=dynamic --with-http_perl_module=dynamic --with-http_xslt_module=dynamic --with-mail=dynamic --with-stream=dynamic --with-stream_geoip_module=dynamic
    Then when I come to compile NGINX use the above source as a template and add "--add-module=./nginx-rtmp-module" at the end?
    Obviously I would backup the original ISPConfig NGINX package before installing new version so I can role-back if needed.
    So my questions really are: -
    1/ Am I going about this the right way?
    2/ Does my 'configure' theory work in practice?
    3/ If I do this will I mess up my production server when I come to do the same on the live box?
    Many thanks in advance for any pointers you may have please
    Also many thanks (as always) for all the work that goes into ISPConfig and the help and support here
    Kind regards to all
    HTA
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I'm sorry, but I can't really help you with that, as I neither use RTMP nor do I compile Nginx on any of my servers. If it works fine for you on Ubuntu 24, why don't you use it for the new server as well?
     
    HappierTimesAhead likes this.
  3. HappierTimesAhead

    HappierTimesAhead Member HowtoForge Supporter

    Hi Till,
    Many thanks for the update.
    We are using Debian 12 on all the servers in a Multiserver setup. We don' want to add another server just for RTMP because of costs.
    I was rather hoping that I was missing something simple - user error kind of thing!
    We did do this back in 2022 on Debian 10 with no issues - that is what is confusing!
    Have a great day
     

Share This Page