Response header from fcgi server

Francis Daly francis at daoine.org
Wed Sep 17 22:08:30 UTC 2014


On Wed, Sep 17, 2014 at 05:42:18PM +0300, wishmaster wrote:

> > What two requests would lead to upstream sending content with a different
> > language? Use whatever is different in those requests in your cache key.
>   
> At this time cache key uses $cookie_language, this works as expected. But I do not understand why with $http_ or $upstream_ does not work.
> 

$http_ comes from the client, so should work.

$upstream_ is empty until after upstream has responded, which is too
late to be used in a cache key.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list