Learn about Centmin Mod LEMP Stack today
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 New Member

    23
    2
    3
    May 27, 2014
    Ratings:
    +2
    Local Time:
    4:55 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.
    Code:
    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.
    Code:
    #include /usr/local/nginx/conf/pagespeedadmin.conf;
    Any insights into what's going on here?

    Thanks in advance!
     
  2. eva2000

    eva2000 Administrator Staff Member

    31,025
    6,927
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,433
    Local Time:
    10:55 PM
    Nginx 1.13.x
    MariaDB 5.5
    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 1.9.32.2 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