Join the community today
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

    58,910
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:46 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    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.