nginx error : cache file has too long header

Roman Arutyunyan arut at
Wed Dec 7 11:06:58 UTC 2016

On Wed, Dec 07, 2016 at 06:00:34AM -0500, omkar_jadhav_20 wrote:
> I can open and read such cache files and below things are there inside these
> files :
> KEY: (this is one liner key)
> HTTP/1.1 200 OK
> x-mobi-fs-ver:
> X-Frame-Options:
> Cache-Control:
> Last-Modified: 
> ETag:
> Content-Type:
> Content-Length:
> Accept-Ranges:
> etc. and at last a very long binary content.

Is this one of the files, which produce 'too long header' errors?

Is the file offset of the point, where the body starts, greater than 4096?
That part of the cache file (file header + key + HTTP header) should fit in

Roman Arutyunyan

More information about the nginx mailing list