Welcome to Centmin Mod Community
Register Now

Nginx PageSpeed DO droplet would not reboot with pagespeedadmin.conf

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by josh, Dec 19, 2014.

  1. josh

    josh Premium Member Premium Member

    May 27, 2014
    Local Time:
    10:19 AM
    I haven't determined why, but one of my DO droplet that is running Centmin Mod rebooted tonight and was tripping up on the pagespeedadmin.conf file.
    nginx: [emerg] unknown directive "pagespeed" in /usr/local/nginx/conf/pagespeedadmin.conf:5
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
    I commented out this line in nginx.conf and everything is working better now but I can't figure out how this was triggered or what the issue is or how my other droplets running Centmin Mod may be affected.
    #include /usr/local/nginx/conf/pagespeedadmin.conf;
    Any insights into what's going on here?

    Thanks in advance!
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    3:19 AM
    Nginx 1.25.x
    MariaDB 10.x
    if you check Install - Centmin Mod 1.2.3-eva2000.07 stable install | Centmin Mod Community updated posts some are related to changes in .07 stable for compatibility with ngx pagespeed 1.8.x and 1.9.x so if you're running much older Centmin Mod, make sure you have updated ngx pagespeed Nginx, PHP-FPM & MariaDB MySQL | Centmin Mod Community

    for instance Nginx PageSpeed - ngx_pagespeed beta released | Centmin Mod Community

    best way is to update to latest .07 stable Centmin Mod if you're using <0.7 version as outlined here and then run centmin.sh menu option 4 to recompile Nginx 1.7.8