Instead use the instruction where the Accept-Encoding is removed: if (req.url ~ "\.(jpg|png|gif|gz|tgz|bz2|tbz|mp3|ogg)$" || req.url ~ "robots\.txt") {
This was, robots.txt is still cached by varnish but in plain text
Instead use the instruction where the Accept-Encoding is removed: png|gif| gz|tgz| bz2|tbz| mp3|ogg) $" || req.url ~ "robots\.txt") {
if (req.url ~ "\.(jpg|
This was, robots.txt is still cached by varnish but in plain text