proxy_cache_key and $content_length

ntib1 nginx-forum at nginx.us
Thu Apr 4 11:59:27 UTC 2013


Hi,

I'd like to put $content_length in proxy_cache_key in order nginx to check
if  file had changed and send it instead of old file if it's case.

But the $content_length is always empty. Why ?

Or do you have another solution for my problem ?

Thanks,

Thibaut

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



More information about the nginx mailing list