Package: nginx
Version: 0.7.59-1
Tags: patch

Excerpt from: http://wiki.nginx.org/NginxHttpGzipStaticModule

Before serving a file from disk to a gzip-enabled client, this module will
look for a precompressed file in the same location that ends in ".gz". The
purpose is to avoid compressing the same file each time it is requested.
THis should be enabled at compile time as follows:

--- nginx-0.7.59/debian/rules
+++ nginx-0.7.59/debian/rules
@@ -22,7 +22,7 @@
        --lock-path=/var/lock/nginx.lock   
--http-log-path=/var/log/nginx/access.log \

        --http-client-body-temp-path=/var/lib/nginx/body
--http-proxy-temp-path=/var/lib/nginx/proxy \
        --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug
--with-http_stub_status_module \
-       --with-http_flv_module --with-http_ssl_module --with-http_dav_module

+       --with-http_flv_module --with-http_ssl_module --with-http_dav_module
--with-http_gzip_static_module

-- 
Andres E. Rodriguez Lazo (RoAkSoAx)
Ingeniero de Sistemas
Official Ubuntu Member
Ubuntu Counter Project - User # 17582

Reply via email to