Welcome! Log In Create A New Profile


nginx reverse proxy with rtmp

Zin Man
May 13, 2016 08:06PM
I am trying to use nginx reverse proxy to connect to a nginx rtmp server

2 servers a and b

a = nginx with rtmp ( videos loacated here )

b = nginx reverse proxy

the reverse proxy is working good with http to stream my videos from
server "a"

but i am not able to use it after installing rtmp on server "a"

this is my old server b config

server {
listen 80;
server_name server_a_name;
location / {
proxy_pass http://ip of server a/;

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log off;
log_not_found off;
= }

so after installing nginx rtmp on server a i have tried this config on
server b

rtmp {
server {
listen 1935;
application vod {

pull rtmp://ip of server a:1935;
also tried pull rtmp://ip of server a:1935/vod/;

and this is the config on server a

listen 1935;
notify_method get;
application vod
play /home/files/public_html/cgi-bin/uploads/;

Posted via http://www.ruby-forum.com/.

nginx mailing list
Subject Author Posted

nginx reverse proxy with rtmp

Zin Man May 13, 2016 08:06PM

Re: nginx reverse proxy with rtmp

Yuriy Medvedev May 14, 2016 04:40AM

Re: nginx reverse proxy with rtmp

Zin Man May 14, 2016 11:24AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready