- Plesk for Linux
Is there a way to install Google PageSpeed for nginx manually?
At the moment it is not possible. Plesk has its own nginx package and it cannot be updated from any other custom repository or recompiled. Moreover, attempts to install different nginx package can make Plesk malfunction.
It is planned to be implemented in the next major Plesk release.
As for now, as a workaround, PageSpeed module may be used for Apache using Google PageSpeed Insights:
Google PageSpeed Insights!
1.1.0 (26 April 2017)
[+] Added PageSpeed Apache Module by Google - Complete integration with installation and configuration
[+] Improved PageSpeed Apache status check
Install the extension, open it and install PageSpeed Apache mod.
If one of the purposes of the pagespeed mode is enabling compression, it is possible to enable it using the following article:
How to enable gzip compression on nginx on Plesk server