Welcome! Log In Create A New Profile

Advanced

Problem with GZIP

September 29, 2011 10:16AM
I have ubuntu server 10.04, nginx 1.1.4(compiled) and my gzip support is not working. This is my configuration:

nginx: nginx version: nginx/1.1.4
nginx: built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
nginx: TLS SNI support enabled
nginx: configure arguments: --user=www-data --group=www-data --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-debug

my nginx configuration is:

http {
include mime.types;
default_type application/octet-stream;

#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';

#access_log logs/access.log main;

sendfile on;
tcp_nodelay on;
tcp_nopush off;

#keepalive_timeout 0;
keepalive_timeout 65;

gzip on;
gzip_min_length 1000;
gzip_comp_level 6;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain application/xml;
#gzip_disable "MSIE [1-6]\.";


server {
listen 80;
server_name localhost;

#access_log /var/log/nginx/alfaomega.access_log main;
#error_log /var/log/nginx/alfaomega.error_log info;

root /var/www/alfaomega/web;
charset utf-8;

location = / {
index index.php;
}
}

#Other locations

}
Subject Author Posted

Problem with GZIP

firestorm September 29, 2011 10:16AM

Re: Problem with GZIP

Maxim Dounin September 29, 2011 10:28AM

Re: Problem with GZIP

firestorm October 03, 2011 10:01AM

Re: Problem with GZIP

firestorm October 03, 2011 10:04AM

Re: Problem with GZIP

firestorm October 03, 2011 11:09AM

Re: Problem with GZIP

Francis Daly October 03, 2011 10:56AM

Re: upload module parameters issue

Francis Daly October 03, 2011 07:24PM

Re: Problem with GZIP

Reinis Rozitis October 03, 2011 11:00AM

Re: Problem with GZIP

Francis Daly October 03, 2011 03:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready