NGINX & ngx_pagespeed on CentOS 7
I wanted to have a quick play with Googles Pagespeed module, as I use NGINX and not Apache I needed to compile NGINX from source to enable the ngx_pagespeed module. The following assumes you are have a clean CentOS 7 installation. First off you need to install the packages which enable you to compile NGINX with ngx_pagespeed from source. NGINX & ngx_pagespeed on CentOS 7 1/8 yum install -y gcc-c++ pcre-dev pcre-devel zlib-devel make unzip openssl-devel Now create a NGINX user and make so the user doesn’t have a shell. ...