Plesk version 11.0.9 and ngix gzip compression
Hi, I have this server @ Amazon Ec2 instance.
I added following code as instructed by IorGe
Then restarted my server and tested using http://www.gidnetwork.com/tools/gzip-test.php
but still it says Web page compressed? No
Help much appreciated.
Hi, I have this server @ Amazon Ec2 instance.
I added following code as instructed by IorGe
As possible solution create the file: /etc/nginx/conf.d/gzip.conf
Enter the following:
gzip on;
gzip_proxied any;
gzip_types text/plain text/xml text/css application/x-javascript;
gzip_vary on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
Then restart nginx in Plesk Services Management. Note that text/html doesn’t need to be specified with gzip_types (and in fact produces a configuration warning if you try). Once you set gzip on, nginx automatically assumes text/html as a gzip type.
Then restarted my server and tested using http://www.gidnetwork.com/tools/gzip-test.php
but still it says Web page compressed? No
HTML:
status HTTP/1.1 200 OK
server nginx
date Tue, 29 Oct 2013
07:40:35 GMT
content-type text/html
content-length 27100
last-modified Mon, 26 Aug 2013
07:49:25 GMT
connection close
vary Accept-Encoding
cache-control max-age=86400
expires Wed, 30 Oct 2013
07:40:35 GMT
x-powered-by PleskLin
accept-ranges bytes
Help much appreciated.