Package: nginx
Version: 0.7.67-4
Severity: wishlist

There's no need to use a regexp in the gzip_disable
directive. According to
http://wiki.nginx.org/NginxHttpGzipModule#gzip_disable the much more
simpler "msie6" can be used since version 0.7.63.

Thanks,
--- appa

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.33perusio (PREEMPT)
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nginx depends on:
ii  libc6                 2.11.2-2           Embedded GNU C Library:
Shared lib
ii  libgeoip1             1.4.7~beta6+dfsg-1 A non-DNS IP-to-country
resolver l
ii  libpcre3              7.8-3              Perl 5 Compatible
Regular Expressi
ii  libssl0.9.8           0.9.8o-1           SSL shared libraries
ii  lsb-base              3.2-23.1           Linux Standard Base 3.2
init scrip
ii  zlib1g                1:1.2.3.4.dfsg-3   compression library -
runtime

nginx recommends no packages.

nginx suggests no packages.

-- Configuration Files:
/etc/nginx/nginx.conf changed:
user www-data;
worker_processes  1;
error_log  /var/log/nginx/error.log;
pid        /var/run/nginx.pid;
events {
    worker_connections  1024;
    # epoll is preferred on 2.6 Linux kernels. Cf.
http://www.kegel.com/c10k.html#nb.epoll
    use epoll;
    # multi_accept on;
}
http {
    # MIME types.
    include     /etc/nginx/mime.types;
    default_type  application/octet-stream;
    # Log file.
    access_log  /var/log/nginx/access.log;
    # Use X-Accel-Redirect header. This hides static files path from
    # the client. It doesn't modify other HTTP headers.
    sendfile        on;

    #keepalive_timeout  0;
    keepalive_timeout  65;
     # TCP options
    tcp_nodelay        on;
    tcp_nopush         on;
    ## Compression.
    gzip              on;
    gzip_buffers      16 8k;
    gzip_comp_level   9;
    gzip_http_version 1.1;
    gzip_min_length   10;
    gzip_types        text/plain text/css image/png image/gif
image/jpeg application/x-javascript text/xml application/xml
application/xml+rss text/javascript image/x-icon;
    gzip_vary         on;
    gzip_proxied      any; # Compression for all requests.
    # No need for regexps. See
http://wiki.nginx.org/NginxHttpGzipModule#gzip_disable
    gzip_disable "msie6";
    # Include all other conf files.
    include /etc/nginx/conf.d/*.conf;
    # Include all vhosts.
    include /etc/nginx/sites-enabled/*;
}

/etc/nginx/sites-available/default changed:
server {
        listen   88;
        server_name  localhost;
        access_log  /var/log/nginx/localhost.access.log;
        location / {
                root   /var/www/nginx-default;
                index  index.html index.htm;
        }
        location /doc {
                root   /usr/share;
                autoindex on;
                allow 127.0.0.1;
                deny all;
        }
        location /images {
                root   /usr/share;
                autoindex on;
        }
        #error_page  404  /404.html;
        # redirect server error pages to the static page /50x.html
        #
        #error_page   500 502 503 504  /50x.html;
        #location = /50x.html {
        #       root   /var/www/nginx-default;
        #}
        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
        #
        #location ~ \.php$ {
                #proxy_pass   http://127.0.0.1;
        #}
        # pass the PHP scripts to FastCGI server listening on
127.0.0.1:9000
        #
        #location ~ \.php$ {
                #fastcgi_pass   127.0.0.1:9000;
                #fastcgi_index  index.php;
                #fastcgi_param  SCRIPT_FILENAME
/scripts$fastcgi_script_name;
                #includefastcgi_params;
        #}
        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        #location ~ /\.ht {
                #deny  all;
        #}
}


-- no debconf information


Attachment: pgp2mFXOLYCq9.pgp
Description: PGP signature

Reply via email to