抛光gzip错误的清漆

运行时出现此错误:

varnishlog -b -q'FetchError'

- ObjHeader X-Frame-Options: SAMEORIGIN - ObjHeader Vary: Accept-Encoding - ObjHeader Content-Type: text/html; charset=UTF-8 - ObjHeader Content-Language: uk - ObjHeader Content-Encoding: gzip - Fetch_Body 4 eof - - Gzip Gunzip error: -3 (invalid code lengths set) - FetchError Invalid Gzip data: invalid code lengths set - Gzip GFE 0 20 80 80 90 - Gzip UF - 6212 24576 80 0 0 - BackendClose 23 2bd71e1f-2123-45a8-947a-54f4cd2ae90b.default - Timestamp Error: 1501073397.946314 0.353247 0.000348 - BerespProtocol HTTP/1.1 - BerespStatus 503 - BerespReason Service Unavailable - BerespReason Backend fetch failed - BerespHeader Date: Wed, 26 Jul 2017 12:49:57 GMT - BerespHeader Server: Varnish - VCL_call BACKEND_ERROR - BerespHeader Content-Type: text/html; charset=utf-8 - BerespHeader Retry-After: 5 - VCL_return deliver - Storage malloc Transient - ObjProtocol HTTP/1.1 - ObjStatus 503 - ObjReason Backend fetch failed - ObjHeader Date: Wed, 26 Jul 2017 12:49:57 GMT - ObjHeader Server: Varnish - ObjHeader Content-Type: text/html; charset=utf-8 - ObjHeader Retry-After: 5 - Length 284 - BereqAcct 1246 0 1246 1063 0 1063 - End 

我有nginx – > varnish – > apache2

当一个网站试图通过curl从另一个服务器检索内容并将其显示为自己的页面时,就会发生这种错误 – 这将在apache中发生,而且上面的错误会导致失败。 该网站正在运行WordPress的问题似乎是由反弹插件 – 同一台服务器上的其他网站似乎pipe理好。

任何想法非常赞赏

我已经closures了Apache的mod_deflate,这似乎有帮助 – 我认为我们正在从反弹,弄乱了gzipping – 使Varnish处理这似乎解决了一些错误。