- Plesk for Linux
gzip compression has been enabled according to the article:
Online optimization test tools like Google PageSpeed Insights show that gzip compression is not enabled for a domain.
The options Smart static files processing and Serve static files directly by nginx are enabled for a domain in Plesk at Domains > example.com > Apache & nginx Settings.
gzip compression is enabled for Apache only. Static files processed by nginx are not compressed.
Apply one of the following solutions:
Enable gzip compression for nginx (Recommended):
Disable nginx reverse proxy support:
# /usr/local/psa/admin/bin/nginxmng -d
Warning: Disabling of nginx support can take a significant time in case of big number of domains. Perform such task when the server load is minimal