help to understand proxy_pass and proxy_cache

Payam Chychi pchychi at gmail.com
Sun Feb 28 21:13:43 UTC 2016


Hi

If your http server is on linux, why not simply use iptables to limit the speed per request?

Anyways, yes, you can use nginx to limit transfer speeds.

Nginx has several examples on the wiki

Cherrs,
Payam chychi


On Feb 28, 2016, 10:52 AM -0800, vampeta<nginx-forum at forum.nginx.org>, wrote:
> 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
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160228/cb56391a/attachment.html>


More information about the nginx mailing list