Join the community today
Register Now

Nginx PageSpeed unknown pagespeed

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

  1. Oxide

    Oxide Active Member

    534
    29
    28
    Mar 19, 2015
    Ratings:
    +59
    Local Time:
    6:37 PM
    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

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    6:37 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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