Discover Centmin Mod today
Register Now

Beta Branch fix openresty stream lua nginx module compatibility in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 31, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    40,322
    8,930
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,753
    Local Time:
    3:49 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    fix openresty stream lua nginx module compatibility in 123.09beta01

    - Recent update to openresty lua resty core https://github.com/openresty/lua-resty-core requires openresty stream lua nginx module https://github.com/openresty/stream-lua-nginx-module compiled which in term requires nginx native Stream module https://nginx.org/en/docs/stream/ngx_stream_core_module.html. However, Centmin Mod 123.09beta01 builds the nginx native Stream module as a dynamic nginx module which causes nginx compiles to fail with openresty stream lua nginx module installed too. Fix is to switch nginx native Stream module back from dynamic nginx module building to static one by setting Centmin Mod to default to NGXDYNAMIC_STREAM='n'.
    - FYI, by default Lua Nginx support is disabled unless persistent config file /etc/centminmod/custom_config.inc is populated with these 2 variables setting ORESTY_LUANGINX='y' and NGINX_OPENRESTY='y' prior to nginx upgrade/recompiles via centmin.sh menu option 4. So these updates will not affect the majority of folks using Centmin Mod 123.09beta01 out of the box defaults.

    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    40,322
    8,930
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,753
    Local Time:
    3:49 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
..