Discover Centmin Mod today
Register Now

Beta Branch add nginx 1.11.4 newly added stream realip module support in 123.09be…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 11, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    add nginx 1.11.4 newly added stream realip module support in 123.09beta01

    Preparing upcoming nginx 1.11.4+ support for ngx_stream_realip_module support nginx: 9cac11efb205 Enabled by default and only when nginx 1.11.4 and higher versions are detected and is controlled by 2 variables you can add to persistent config file /etc/centminmod/custom_config.inc


    Code (Text):
    NGINX_STREAMREALIP='n'
    NGXDYNAMIC_STREAMREALIP='n'
    


    1st disables ngx_stream_realip_module as a static nginx module. While 2nd variable controls dynamic module configuration instead of static nginx module. As of this commit ngx_stream_realip_module dynamic support doesn't seem to be added so already defaults to disabled NGXDYNAMIC_STREAMREALIP='n'

    After making persistent config file changes, you'd need to recompile nginx via centmin.sh menu option 4

    Continue reading...

    123.09beta01 branch
     
    Last edited: Sep 11, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+