Nginx: keep ngx_pageespeed up to date

If you - like me on and - use the Nginx-Pagespeed module, you should keep it up to date. That way you can save yourself a lot of troubleshooting.

If you're going to be Nginx self compiledand uses the module "ngx_pagespeed", you not only have to keep Nginx up to date, which in the last versions brought HTTP/2 support, but also the corresponding modules. After neglecting this for a while, I could not log into the WordPress backend anymore. The necessary troubleshooting should be spared others, so here are the main steps:

NPS_VERSION=<span style="color: #ff0000;"></span>
unzip release-${NPS_VERSION}
cd ngx_pagespeed-release-${NPS_VERSION}-beta/
tar -xzvf ${NPS_VERSION}.tar.gz

You get the latest version directly at Google, on 11/29/2015 this was version After you have done the above steps, you can install Nginx "regular", but you have to make sure during configuration that the new version of the ngx_pagespeed module is also used.

So if you have unexplainable problems with your website and use Nginx 1.9.x with ngx_pagespeed, you should - as with any software - make sure that you are using the latest version. This can be easily achieved by following the simple installation steps.

Leave a Reply

Your email address will not be published. Required fields are marked *