I am running apache-bench targeting a nginx LB which fetches objects from varnish cache. My ab comand is : ab -r -k -c 1500 -t 60 -n 10000000 http://abc.xyz.com/150kb.txt I am getting 502 errors (bad gateway) and below lines in my error logs of nginx reverse proxy. But, if I point directly to varnish, this run smoothly without any errors. 2014/12/11 19:31:48 30476#0: *1011 no live upby viralpatadiya - Other discussion
Hi, I want to restrict the size of the object that can be cached in nginx. The object crossing the restricted size, should be served to the viewer directly without being cached. What is the best way do achieve this? Regards, Viralby viralpatadiya - How to...
Hi, I need to know whether there is any way to achieve PURGE functionality without opting for commercial version of Nginx. I tried "https://github.com/perusio/nginx-cache-purge" which works, but I need PURGE functionality only through curl (http call). Regards, Viralby viralpatadiya - How to...
We have nginx setup which is used as a reverse proxy connecting to an apache backend. We are using varnish between them for caching. We need to set a default landing page if only domain name is given. we don't wish to set the index page on apache, we want to do it explicitly on nginx. We know a method where the nginx can serve the default page from the local directory. What we want to achieve iby viralpatadiya - How to...