Kapalı

Fixing nginx as a reverse proxy for HLS streaming

Hi,

I'm no nginx professional or amateur for that mater, just know how to google a lot and I need help finishing of a reverse proxy.

What I currently have a main server that handles connections which then hands the client to one of 8 backend servers that deliver the stream in either TS or HLS. I want to put a proxy at the front that acts as the main server but also delivers the stream (like an edge server i guess, but no caching) so that the origin servers are hidden.

I have got it to work with TS, but I can't for the life of me workout how to get it to work with HLS no matter how much I packet capture. It pulls the manifest fine but unlike with TS it isn't pulling the segments from the origin servers.

Here is the code I've done so far (could probably be cleaner but this was all done with google)

server {

listen 80;

server_name proxy_IP_here;

proxy_set_header Host $host;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_buffering off;

location ~ .(m3u8|mpd)$ {

proxy_pass backend_IP_for_Main;

proxy_intercept_errors on;

error_page 301 302 307 = @handle_redirects;

}

}

location / {

proxy_pass backend_IP_for_Main;

sub_filter 'dns_i_have_it_fildering_here' 'proxy_IP_here';

sub_filter_once off;

sub_filter_types text/javascript application/json;

proxy_intercept_errors on;

error_page 301 302 307 = @handle_redirects;

}

location @handle_redirects {

set $saved_redirect_location '$upstream_http_location';

proxy_pass $saved_redirect_location;

}

}

Beceriler: CentOs, Linux, Nginx, PHP, Ubuntu

Daha fazlasını gör: nginx reverse proxy cache, install nginx reverse proxy, nginx reverse proxy, hls server tutorial, nginx rtmp cors, nginx rtmp html5, nginx stream audio, nginx hls reverse proxy, nginx hls, nginx video streaming proxy, nginx mp4 streaming example, nginx reverse proxy config, nginx reverse proxy configuration, nginx reverse proxy forward ip, nginx reverse proxy sessions, squid nginx reverse proxy, nginx reverse proxy round robin, forward source nginx reverse proxy, virtualmin nginx reverse proxy, centos nginx reverse proxy iis

İşveren Hakkında:
( 0 değerlendirme ) London, United Kingdom

Proje NO: #18943180

Bu iş için 11 freelancer ortalamada £123 teklif veriyor

kuldeepvk

Hi, I have more than 11 years of experience in this and will do [login to view URL] discuss.I will do this" I want to put a proxy at the front that acts as the main server but also delivers the stream (like an edge serv Daha Fazla

£88 GBP in 0 gün içinde
(294 Değerlendirme)
6.9
tangramua

Hello! I can help you to fix nginx as a reverse proxy for HLS streaming. As for me I'm a professional system admin. For the last 10 years I was working as a senior system admin at hosting services provider where Daha Fazla

£150 GBP in 3 gün içinde
(53 Değerlendirme)
6.6
Savstac

I have 8 years of experience in managing complex linux architectures and managing cloud infrastructures. I have worked on many complex projects ( Private cloud setup on AWS, Load balancing clusters, Replication system Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(35 Değerlendirme)
5.1
linuxbot

Hi, Give me a chance to work with you, I have a great experience on ' IPTV / VOD ' Implementation, Maintenance, Migration, Hardening, Troubleshooting and Up-Gradation .. I`ll deliver ASAP..Expertise in back-end, Daha Fazla

£150 GBP in 3 gün içinde
(29 Değerlendirme)
4.8
Ivan927

Hello! I am very interested in your post project. i am really looking for this kind of project for a long time in freelancer since i have rich experience on it. I think this project is very suitable for me and i am Daha Fazla

£150 GBP in 3 gün içinde
(10 Değerlendirme)
4.6
superbpartner

Hi,dear. I am very interested in your project - 'Fixing nginx as a reverse proxy for HLS streaming'. I've already done this kind of project before. I'm a professional programmer with 12 years of experience. If you awar Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(8 Değerlendirme)
4.6
Pro4Magento

Good Day. Can help You properly setup your nginx as reverce proxy for hide/transmit your TS/HLS streams from your sources. Tnx and Regards.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(33 Değerlendirme)
4.3
awsdevopro

Hi, Docker & kubernetes master here at your service. Currently I'm a full time employee at [login to view URL] (In-House software farm) where my position is DevOps. Have been deployed in docker and AWS servers, some are Daha Fazla

£250 GBP in 3 gün içinde
(11 Değerlendirme)
4.2
bluebear1888

Hi, Dear!. I would like to express my heartfelt greetings about my introduction. The project you are going to develop is the area I know most about. I have worked in the web (Codeignitor, Laravel, Yii, Node.js, Angu Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(11 Değerlendirme)
3.5
poiasd

I have my own server with which I use nginx, and have dabbled in HLS streaming before as well. I could help you out with what you need by testing around a bit (the exact error trace is still a bit unclear). Feel fr Daha Fazla

£55 GBP in 3 gün içinde
(3 Değerlendirme)
1.8
ngrantfreelance

Hi mate. I've worked with NGINX for years and I've set up reverse proxies for a number of different situations. It sounds like you're having trouble getting NGINX to work as a reverse proxy with HLS. If you can messa Daha Fazla

£70 GBP in 3 gün içinde
(2 Değerlendirme)
1.6