#243·livego

Conflict Between Nginx RTMP Module and LiveGo Service on Port 1935

Author: strange-goCreated Dec 8, 2024Updated Mar 28, 2025

I am trying to configure Nginx with the RTMP module to handle RTMP URLs like the following:

rtmp://domain.com/live/dsd instead of rtmp://13.112.111.11/live/dsd

However, I already have LiveGo running on port 1935 for RTMP streaming, and the Nginx RTMP module also binds to port 1935 by default. This creates a port conflict between the two services.

My Questions:

  1. Can Nginx's RTMP module be configured to avoid opening port 1935 while still allowing RTMP URL routing via a reverse proxy?
  2. Is there an alternative way to configure Nginx for RTMP proxying without the RTMP module?