Hi,
I am serving mostly images and videos, so I turned gzip off.
But I am trying to turn gzip compression on for js/css/... (located in specific paths)...
But it seems not to work. I tried this:
gzip off;
location ^~ /Js/ { gzip on; }
location ^~ /Css/ { gzip on; }
location ^~ /XML/ { gzip on; }
Is this supposed to work?
Or is there a better way?
Thanks,
JD