Join the community today
Register Now

Master Branch add NGINX_MAXERRBYTELIMIT variable to adjust NGX_MAX_ERROR_STR hardco…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 22, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    55,802
    12,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,858
    Local Time:
    10:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    add NGINX_MAXERRBYTELIMIT variable to adjust NGX_MAX_ERROR_STR hardcoded value

    can be set in persistent config file /etc/centminmod/custom_config.inc prior to nginx recompile via centmin.sh menu option 4 to modify nginx hard coded value for NGX_MAX_ERROR_STR which is defaults to 2048 bytes. Some web apps like naxsi and lua nginx module may need raising the value to 4096 or 8192 http://openresty-reference.readthedocs.io/en/latest/Lua_Nginx_API/#print

    Code (Text):
    NGINX_MAXERRBYTELIMIT='2048' # modify NGX_MAX_ERROR_STR hardcoded 2048 limit by editing value i.e. http://openresty-reference.readthedocs.io/en/latest/Lua_Nginx_API/#print
    


    Continue reading...

    Centmin Mod Github Master branch

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