Join the community today
Become a Member

Master Branch ngx_pagespeed dynamic module routine update in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 9, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    9:09 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    ngx_pagespeed dynamic module routine update in 123.09beta01

    ensure if dynamic module and load module line is detected that nginx pagespeed routine doesn't comment out the pagespeedadmin.conf include file in /usr/local/nginx/conf/nginx.conf as outlined issue at

    however, outstanding issue now is that centmin mod nginx configuration routine detects if NGINX_PAGESPEED='n' is set so if you just drop in dynamic module manually into /usr/local/nginx/modules directory and manually add load modules line to /usr/local/nginx/conf/dynamic-modules.conf, on menu option 4 will currently wipe the /usr/local/nginx/conf/dynamic-modules.conf entries and re-populate based on which nginx dynamic module variables are enabled i.e. NGXDYNAMIC_NGXPAGESPEED='y' + NGINX_PAGESPEED='y'.

    So essentially right now each menu option 4 recompile time checks for NGXDYNAMIC_NGXPAGESPEED='y' + NGINX_PAGESPEED='y' before populating /usr/local/nginx/conf/dynamic-modules.conf with the load line for and wipes out any instance of in /usr/local/nginx/modules when NGINX_PAGESPEED='n' set. So manual drop in of dynamic modules won't work 100% on subsequent menu option 4 recompiles as previously I assume if NGINX_PAGESPEED='n' is set, that you don't want to load dynamic module. Will need to come up with some new logic as if you set NGINX_PAGESPEED='n' and NGXDYNAMIC_NGXPAGESPEED='n', normally you'd assume isn't wanted.

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.