Welcome to Centmin Mod Community
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

    May 24, 2014
    Brisbane, Australia
    Local Time:
    11:01 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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.