I found a way to edit the source code of nginx but in a very awful way : 1. find file : ngx_http_gzip_static_module.c (ver 1.0.1, other version may be the same): 2 .in: ngx_http_gzip_static_handler(ngx_http_request_t *r) 3 .found : if (r->uri.data == '/') { return NGX_DECLINED; } 4 .add : if ( r->uri.data == 'g' && r->uri.data == 'n' &&amby newcomer11 - Ideas and Feature Requests
Hi, currently nginx 1.0 gzip_static(HttpGzipStaticModule) doesn't use the gzip_types applied for gzip (HttpGzipModule). So when I try to precompresse js and css file, it also try the image file (trace by strace in this post : http://stackoverflow.com/questions/3972675/how-to-tell-gzip-static-not-to-look-for-image-files)by newcomer11 - Ideas and Feature Requests