If I put in .htaccess of the site the following line unsetting the encoding everything is ok, but why this happens as in default.vcl the encodings are set correctly:

#this in htaccess solve the problem
RequestHeader unset Accept-Encoding

#This is my default.vcl configuration
if (req.http.Accept-Encoding) {
    if (req.http.Accept-Encoding ~ "gzip") {
      set req.http.Accept-Encoding = "gzip";
    }
    else if (req.http.Accept-Encoding ~ "deflate") {
      set req.http.Accept-Encoding = "deflate";
    }
    else {
      unset req.http.Accept-Encoding;
    }
}

This happens installing wordpress plugins and themes.

On 01/26/2016 12:24 PM, [email protected] wrote:
Hello,
Can you please tell me how can I fix this error from the varnishlog and whyt it's caused, because everything I read in the net couldn't help me. Sometimes on some websites the most pages works fine, but only certain css files give 503 with this error.

Thank you in advance.


_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to