Welcome to Centmin Mod Community
Become a Member

Nginx PageSpeed unknown pagespeed

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Oxide, Aug 10, 2016.

  1. Oxide

    Oxide Active Member

    503
    29
    28
    Mar 19, 2015
    Ratings:
    +54
    Local Time:
    2:25 AM
    I have not used pagespeed in ages! And when I try to enable it, it's not working.

    nginx version: nginx/1.11.3
    123.09beta01

    Code:
    Aug 09 18:43:49 main-ovh.octolus.net nginx[12914]: nginx: [emerg] unknown directive "pagespeed" in /usr/local/nginx/conf/pagespeedadmin.conf:9
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    2:25 AM
    Nginx 1.13.x
    MariaDB 5.5
    FYI, 123.08stable no longer works with ngx_pagespeed, you need to update to 123.09beta01 for ngx_pagespeed. See news thread at Nginx 1.9.11 dynamic module compatibility. So ngx_pagespeed disabled by default on all builds.

    123.08stable has disabled ngx_pagespeed and lua nginx modules due to incompatibility with nginx 1.9.11 dynamic modules.

    If you want ngx_pagespeed for now you need to update Centmin Mod to 123.09beta01 outlined here Beta Branch - Centmin Mod .09 beta branch Testing

    With 123.09beta01, set in /etc/centminmod/custom_config.inc persistent config file you create or already created and set:
    Code (Text):
    NGINX_PAGESPEED=y

    and then recompile Nginx 1.11.3 or higher via centmin.sh menu option 4 to properly enable it

    then you can enable it via
    Code (Text):
    pscontrol on