<div><span class="gmail_quote">On 10/18/07, <b class="gmail_sendername">Eden Li</b> <<a href="mailto:eden@mojiti.com">eden@mojiti.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br><br>Is it possible to turn off gzip compression based on $http_user_agent? I tried:<br><br> if ($http_user_agent ~* msie\s+6\.0) { gzip off; }<br><br>Except nginx says that I can't put gzip there. Is there another way?
<br><br>Background for those interested: Flash in IE6 can't handle gzipped<br>content even though it advertises that it can.<br><br>Thanks,<br>eden</blockquote><div><br> </div><div>I also would like to know if this is possible. We ended up disabling gzip for the sub-locations with flash (sub-optimal solution).
</div><div><br class="webkit-block-placeholder"></div><div> ~Wayne</div><br> </div>