Welcome! Log In Create A New Profile

Advanced

NGINX config required for shifting traffic based on some URL parameter

Posted by m.ali 
NGINX config required for shifting traffic based on some URL parameter
July 17, 2017 01:16PM
Hi I am not developer but we want nginx to transfer streaming traffic based on some live tv channel name to specific server e.g:

http://oursite.com:1935/live/smil:mychannel1.smil/playlist.m3u8

Like in the above url whenever mychannel1 comes nginx should transfer this streaming traffic to server1 we have Wowza servers running.

Example 2:

http://oursite.com:1935/live/smil:mychannel2.smil/playlist.m3u8

Like in the above url whenever mychannel2 comes nginx should transfer this streaming traffic to server2 we have Wowza servers running.

We are using HLS for streaming and want NGING to load balance like this.

Kindly provide nginx.conf for above requirement.

Many Thanks
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 130
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