• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk 11.0.9 and ngix gzip compression

RuvanN

New Pleskian
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

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.
 
Back
Top