Learn about Centmin Mod LEMP Stack today
Become a Member

Nginx Nginx config suggestions

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by rdan, Nov 4, 2018.

  1. rdan

    rdan Well-Known Member

    4,524
    1,085
    113
    May 25, 2014
    Ratings:
    +1,583
    Local Time:
    3:07 AM
    Mainline
    10.2
    Asper this article: Results of experimenting with Brotli for dynamic web content

    I think it's better to follow Cloudflare :)
    Code:
    #For Brotli
    brotli_min_length 64000;
    brotli_comp_level 5;
    
    #For nginx.conf
    gzip_comp_level 8; # Only when using Cloudflare Zlib
    

     
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    39,823
    8,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,521
    Local Time:
    5:07 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    indeed that does make more sense :)

    going to change it to brotli_min_length 65536; when centminmod 123.09beta01 updated version does nginx centmin.sh menu option 4 recompiles
     
    • Like Like x 1
..