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

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:55 PM
    Nginx 1.13.x
    MariaDB 5.5
    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

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:55 PM
    Nginx 1.13.x
    MariaDB 5.5