Welcome to Centmin Mod Community
Become a Member

Master Branch revise nginx & php default buffers in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 1, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    9:55 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    revise nginx & php default buffers in 123.09beta01

    for fresh installs only, revise nginx.conf and php.conf buffer defaults for better use of memory

    change /usr/local/nginx/conf/nginx.conf output_buffers to value = 2 32K

    output_buffers 2 32k;

    in /usr/local/nginx/conf/php.conf and variants for http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html, change to

    fastcgi_buffer_size 4k;
    fastcgi_buffers 512 4k;

    Existing installs will have to manually update those settings as to not override folks custom values set for php. For nginx.conf updated 123.09beta01 and run centmin.sh menu once should make the change for output_buffers.

    Continue reading...

    Centmin Mod Github Master branch

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