2 messages in ru.sysoev.nginxTurn of gzip for two specific locations.
FromSent OnAttachments
Wayne E. SeguinMar 7, 2007 2:25 pm 
Igor SysoevMar 7, 2007 10:20 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Turn of gzip for two specific locations.Actions...
From:Wayne E. Seguin (wayn@public.gmane.org)
Date:Mar 7, 2007 2:25:58 pm
List:ru.sysoev.nginx

Hi,

I've found a lovely issue with IE6 that doesn't allow .swf files to consume XML files that are compressed with gzip so I'm trying to figure out how to turn off gzip compression for two locations.

One is anything under the /dashboard/gauge/ and the other is anything under /graphs/

Here's my attempt which doesn't seem to be working:

Attempt 1: server { ... location / { if ($uri ~* /dashboard/gauge*) { gzip off; } ...

Attempt 2:

server { ... location ^~ /dashboard/gauge* { gzip off; }

location / { ...

Any suggestions on how to do this?

Thanks!

~Wayne