No Cache Header On Proxy Request

2014-09-21 Thread Jason Johnson
Hi All, Can someone tell me or point me to an example of how to set a no cache header on a proxy request . Currently I have PHP application that I'm reverse proxying to php-fpm. However when I try to post to the login page there being cached by the CDN that I'm using. The no cache header will fix

RE: trouble changing uri to query string

2014-09-21 Thread Roland RoLaNd
Thank you Francis for your response and excuse the late reply.Using map is cool idea, though i have around 2000 possible imageId and size and more than 9 million user id.. they're always imageIDs are prone to change, wouldn't that mean i have to add them manually every time ? On another note,

Forward single request to upstream server via proxy_store !!

2014-09-21 Thread shahzaib shahzaib
Hi, When the multiple users request for same file on edge server via proxy_store and requested file is still not downloaded on the edge server, the nginx keeps on proxying those requests towards the origin server due to which network port is getting saturated on the edge server and file downloadi