help to understand proxy_pass and proxy_cache

vampeta nginx-forum at forum.nginx.org
Sun Feb 28 18:52:40 UTC 2016


Hi guys,
i would like to understand if nginx can be used for my request, i try to
explain:

i have a http mpegts server
we are 5 client

normally someone think to connect all together to the server like:

client1-------------------> \
client2------------------->  \
client3------------------->   http server
client4------------------->  /
client5-------------------> /

but i can't do for reson of bandwitch ( 5 stream take around 20/22 mb )

so i would like to use nginx in the middle, like:

client1-------------------> \
client2------------------->  \
client3------------------->   (nginx proxy with cache stream)  <----------->
http server
client4------------------->  /
client5-------------------> /

5 client request the same source to my local nginx server

nginx get the stream from the main server ( in this case take only 4mb and
sharing the cache with 5 client )

can be possible??

thx

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264915,264915#msg-264915



More information about the nginx mailing list