How to Enable Gzip Compression on Plesk for Nginx

0

If you are using Nginx web server on your Plesk server, you can enable Gzip compression on Plesk by using the following method. Please click here to know how to enable Gzip compression on Plesk with Apache web server.

gzip

First you need to create the file gzip.conf  in /etc/nginx/conf.d/ so it become /etc/nginx/conf.d/gzip.conf using the below command

Then copy and paste the below command into the file and save it.

Test your configuration to see if everything is good using

If everything is fine use the below command to restart the server

Then use this tool to test

Source: https://blog.happybeehost.com/enable-gzip-compression-plesk-nginx/

LEAVE A REPLY

Please enter your comment!
Please enter your name here