- Plesk 12.5 for Linux
- Plesk Onyx for Linux
- Plesk 11.x for Linux
- Plesk 12.0 for Linux
module is a filter that compresses responses using the
method. It often helps to reduce the size of transmitted data by half or even more.
How to enable it globally?
- Connect to the server using SSH.
Create a file using the command '
vi /etc/nginx/conf.d/gzip.conf' and put the following content in it:
gzip_disable "MSIE [1-6]\\.(?!.*SV1)";
Note: This is an example. It is possible to add other file types in
Test the configuration and fix errors (if any):
# nginx -t
# service nginx reload
available for compression can be obtained from
If it is needed to enable this module for a single domain, add the aforementioned content in the Domains > example.com > Apache & nginx Settings > Additional nginx directives.
compression module can be found in