Discover Centmin Mod today
Register Now

Nginx PageSpeed Nginx List of dynamic nginx modules in 123.09beta01

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Jan 25, 2017.

  1. pamamolf

    pamamolf Well-Known Member

    2,537
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    4:56 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Is anywhere a list of all modules that we can use as dynamic?

    On Nginx custom config i use:

    Code:
    NSD_INSTALL='n'
    NGINX_SUB='n'
    NGINX_ADDITION='n'
    NGINX_IMAGEFILTER='n'
    NGINX_HTTPCONCAT='n'
    NGINX_PAGESPEED='n'
    NGINX_HTTPREDIS='n'
    PHPREDIS='n'
    and i need to add the rest modules that Nginx uses as Dynamic.....

    So what's the other ones that i can add as dynamic on that config?
     
    Last edited: Jan 25, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    29,044
    6,590
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,785
    Local Time:
    11:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    They're listed in centmin.sh as well as FAQ item 39 ;)
     
  3. pamamolf

    pamamolf Well-Known Member

    2,537
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    4:56 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Does that looks ok to you?

    Code:
    
    # Stuff that i don't want to use
    NSD_INSTALL='n'
    NGINX_SUB='n'
    NGINX_ADDITION='n'
    NGINX_IMAGEFILTER='n'
    NGINX_HTTPCONCAT='n'
    NGINX_PAGESPEED='n'
    NGINX_HTTPREDIS='n'
    PHPREDIS='n'
    
    # Nginx Dynamic Module Switches
    NGXDYNAMIC_NJS='n'
    NGXDYNAMIC_XSLT='y'
    NGXDYNAMIC_PERL='n'
    NGXDYNAMIC_IMAGEFILTER='y'
    NGXDYNAMIC_GEOIP='n'
    NGXDYNAMIC_STREAM='y'
    NGXDYNAMIC_HEADERSMORE='y'
    NGXDYNAMIC_SETMISC='y'
    NGXDYNAMIC_ECHO='y'
    NGXDYNAMIC_SRCCACHE='y'
    NGXDYNAMIC_MEMC='y'
    NGXDYNAMIC_BROTLI='y'
    NGXDYNAMIC_FANCYINDEX='y'
    NGINX_LIBBROTLI=y
    
    What about the two module warnings?

    Code:
    NGXDYNAMIC_LUA='n'          # leave disabled due to bug https://github.com/openresty/lua-nginx-module/issues/715
    NGXDYNAMIC_DEVELKIT='n'     # leave disabled as it requires lua nginx module as dynamic but it has a bug in lua nginx
    Are they still not working ?

    Thank you :)
     
    Last edited: Jan 25, 2017
  4. eva2000

    eva2000 Administrator Staff Member

    29,044
    6,590
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,785
    Local Time:
    11:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    seems to be working now :)

    with persistent config file /etc/centminmod/custom_config.inc set to
    Code (Text):
    NGXDYNAMIC_NGXPAGESPEED='y'
    NGINX_PAGESPEED='y'
    
    LIBRESSL_SWITCH='n'
    
    NGINX_DEVTOOLSETGCC='y'
    GENERAL_DEVTOOLSETGCC='y'
    CRYPTO_DEVTOOLSETGCC='y'
    
    NGXDYNAMIC_LUA='y'
    ORESTY_LUANGINX='y'
    NGXDYNAMIC_DEVELKIT='y'
    

    dynamically loaded modules
    Code (Text):
    dynamic modules include file /usr/local/nginx/conf/dynamic-modules.conf
    -rw-r--r-- 1 root root 331 Jan 24 23:35 /usr/local/nginx/conf/dynamic-modules.conf
    
    load_module "modules/ngx_http_image_filter_module.so";
    load_module "modules/ndk_http_module.so";
    load_module "modules/ngx_http_set_misc_module.so";
    load_module "modules/ngx_http_lua_module.so";
    load_module "modules/ngx_http_fancyindex_module.so";
    load_module "modules/ngx_pagespeed.so";
    load_module "modules/ngx_stream_module.so";
    
    dynamic module directory at /usr/local/nginx/modules
    total 43M
    drwxr-xr-x.  2 root root 4.0K Jan 24 23:37 .
    drwxr-xr-x. 10 root root 4.0K Nov 25 08:25 ..
    -rwxr-xr-x   1 root root 146K Jan 24 23:37 ndk_http_module.so
    -rwxr-xr-x   1 root root 156K Jan 24 23:37 ngx_http_fancyindex_module.so
    -rwxr-xr-x   1 root root 112K Jan 22 09:21 ngx_http_fancyindex_module.so.old
    -rwxr-xr-x   1 root root 159K Jan 24 23:37 ngx_http_image_filter_module.so
    -rwxr-xr-x   1 root root 114K Jan 22 09:21 ngx_http_image_filter_module.so.old
    -rwxr-xr-x   1 root root 3.6M Jan 24 23:37 ngx_http_lua_module.so
    -rwxr-xr-x   1 root root 808K Jan 24 23:37 ngx_http_set_misc_module.so
    -rwxr-xr-x   1 root root  18M Jan 24 23:37 ngx_pagespeed.so
    -rwxr-xr-x   1 root root  18M Jan 22 09:21 ngx_pagespeed.so.old
    -rwxr-xr-x   1 root root 1.3M Jan 24 23:37 ngx_stream_module.so
    -rwxr-xr-x   1 root root 864K Jan 22 09:21 ngx_stream_module.so.old
    

     
  5. pamamolf

    pamamolf Well-Known Member

    2,537
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    4:56 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok so i will try this one:

    /etc/centminmod/custom_config.inc

    Code:
    # Stuff that i don't want to use
    NSD_INSTALL='n'
    NGINX_SUB='n'
    NGINX_ADDITION='n'
    NGINX_IMAGEFILTER='n'
    NGINX_HTTPCONCAT='n'
    NGINX_PAGESPEED='n'
    NGINX_HTTPREDIS='n'
    PHPREDIS='n'
    
    # Nginx Dynamic Module Switches
    NGXDYNAMIC_NJS='n'
    NGXDYNAMIC_XSLT='y'
    NGXDYNAMIC_PERL='n'
    NGXDYNAMIC_GEOIP='n'
    NGXDYNAMIC_STREAM='y'
    NGXDYNAMIC_HEADERSMORE='y'
    NGXDYNAMIC_SETMISC='y'
    NGXDYNAMIC_ECHO='y'
    NGXDYNAMIC_LUA='y'
    NGXDYNAMIC_SRCCACHE='y'
    NGXDYNAMIC_DEVELKIT='y'
    NGXDYNAMIC_MEMC='y'
    NGXDYNAMIC_FANCYINDEX='y'
    NGXDYNAMIC_HIDELENGTH='y'
    

    Is it needed to specify the ='n' entries like:
    Code:
    NGXDYNAMIC_NJS='n'
    NGXDYNAMIC_PERL='n'
    NGXDYNAMIC_GEOIP='n'
    
    ?
     
  6. eva2000

    eva2000 Administrator Staff Member

    29,044
    6,590
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,785
    Local Time:
    11:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    not needed as some are disabled by default already but listing them serves as a reminder to what options you have available to tweak