Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Nginx 1.13.10 Released

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Mar 20, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Nginx 1.13.10 is officially released now. You will be able to run the SSH command = cmupdate to update Centmin Mod 123.09beta01 code and then run centmin.sh menu option 4 to update Nginx to 1.13.10 just like with Nginx 1.13.9

    Nginx 1.13.10 adds
    Just a heads up for folks using NGINX_HPACK='y' which isn't enabled by default for Cloudflare's HTTP/2 HPACK Full Encoding patch. It's broken in Nginx 1.13.10 due to major changes in code. So I have updated Centmin Mod 123.09beta01 to disable the patch when Nginx 1.13.10 is detected. Nginx 1.13.9 will still get patched if you have set NGINX_HPACK='y'.

    Bug listed at HPACK patch broken for Nginx 1.13.10 · Issue #93 · cloudflare/sslconfig for folks who want to follow on.

    Example compile of Centmin Mod 123.09beta01 based Nginx 1.13.10 pulled from master dev branch. On centmin.sh menu option 4 specify Nginx version to update to = master to pull and install master branch code Nginx 1.13.10
     
    Last edited: Mar 21, 2018
    • Like Like x 2
    • Informative Informative x 2
    • Winner Winner x 1
  2. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Nginx 1.3.10 has been officially released now nginx news

     
    • Informative Informative x 2
  3. rdan

    rdan Premium Member Premium Member

    4,195
    1,014
    113
    May 25, 2014
    Ratings:
    +1,438
    Local Time:
    6:23 AM
    Mainline
    10.2
    Updated :).
    Code:
    Total Nginx Upgrade Time: 98.330884620 seconds
    
     
    • Like Like x 1
  4. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yup :)

     
  5. Sunka

    Sunka Well-Known Member

    986
    266
    63
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +439
    Local Time:
    12:23 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    good

    @eva2000 change version of nginx in thread title
     
    • Like Like x 1
  6. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah all day I have been mistyping 1.13.10 as 1.3.10 for some reason :LOL::D
     
    • Funny Funny x 1
    • Creative Creative x 1
  7. Revenge

    Revenge Active Member

    398
    84
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +297
    Local Time:
    11:23 PM
    1.9.x
    10.1.x
    Now comes the doubt. Stick with Nginx 1.13.9 with HPACK patch or update to Nginx 1.13.10 without it.
     
  8. dcg

    dcg Premium Member Premium Member

    48
    17
    8
    Oct 17, 2015
    Florida, USA
    Ratings:
    +32
    Local Time:
    6:23 PM
    1.13.5
    10.1.28
    HPACK and nginx updates seem to have a rocky relationship :blackeye:
    Thanks for the info @eva2000
     
  9. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Yeah having HTTP/2 HPACK Full Encoding patch is nice compared to HPACK partial encoding in standard Nginx, but the bandwidth savings isn't that substantial with lower traffic. So usually would be fine. For now I suggest using 1.13.10 and just keep an eye on the bug/issue report for updates HPACK patch broken for Nginx 1.13.10 · Issue #93 · cloudflare/sslconfig
     
  10. bassie

    bassie Active Member

    854
    200
    43
    Apr 29, 2016
    Ratings:
    +604
    Local Time:
    12:23 AM
    This is a difficult point.
    As Cloudflare no longer issues new code, no longer makes any changes. And it does not seem to manage it at all anymore (repo sslconfig). Because Nginx does not implement it in her own code.

    And with every release the Cloudflare patches are breaking the Nginx code. again and again, harder and harder. I wonder if it still makes sense to use Cloudflare patches nowadays.

    Nginx code is changed more and more and there will be a turning point that Cloudflare patches won't longer work.
     
    • Like Like x 1
  11. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Yeah it's tricky to navigate. Only thing to do for Centmin Mod is deal with it as the issues come. Centmin Mod Nginx upgrade routine when it fails to compile Nginx will just use the previous Nginx version anyway. So worse case is your don't update to the Nginx version you want and use previous Nginx version. It's not as critical as your sites powered by Centmin Mod Nginx will continue to run as it was anyway just with existing Nginx version and the Nginx version you're trying to upgrade to.

    Right now latest Centmin Mod 123.09beta01 code updated in past 48hrs, just detects Nginx versions 1.13.10 and greater and skips cloudflare HPACK patch setting NGINX_HPACK='n' so no breakage for that going forth for now.
     
    • Friendly Friendly x 1
  12. Revenge

    Revenge Active Member

    398
    84
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +297
    Local Time:
    11:23 PM
    1.9.x
    10.1.x
    • Informative Informative x 1
  13. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  14. Revenge

    Revenge Active Member

    398
    84
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +297
    Local Time:
    11:23 PM
    1.9.x
    10.1.x
    Yes, i noticed it. But it works flawless if we just use that patch.
     
  15. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  16. bassie

    bassie Active Member

    854
    200
    43
    Apr 29, 2016
    Ratings:
    +604
    Local Time:
    12:23 AM
    Did someone bench the Nginx none HPACK stack vs Nginx HPACK stack not on the headers but the whole environment?

    93.7+ % saving on header size sounds impressive but how many ms are you saving on the the total package?

    Don't get me wrong. The HPACK patch is great.
    Obviously if you have millions of visitors just like Cloudflare.

    But what about the small sites?
     
  17. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Yeah HPACK full vs partial encoding of headers is not going to make much of difference for small sites compared to large sites and depends on the specific site's header size/usage too. For example HTTP/2 and the evolving requirements for implementing many security related headers will increase the header size footprint of each request over time. Might not affect Nginx performance that much, but web servers like h2o and caddy it might as their performance degrades more as you add more headers to their requests from my past experience/benchmarks. Nginx doesn't degrade much at all. Though no idea of reason Nginx folks don't implement HPACK Full encoding as opposed to it's current partial encoding.
     
  18. bassie

    bassie Active Member

    854
    200
    43
    Apr 29, 2016
    Ratings:
    +604
    Local Time:
    12:23 AM
    The reason is simple. No time.
    Apparently too busy with Nginx plus, Nginx unit et al.
    The above comment was the last one after sending in the patch by Cloudflare.

    [PATCH] HTTP/2: add support for HPACK encoding
    [PATCH] HTTP/2: add support for HPACK encoding
     
    • Informative Informative x 1
  19. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    ah i remember reading that reply.. guess it's just different priorities and not seeing HPACK full encoding as important as they could of added it to Nginx Plus if that was a reason to priortize Nginx Plus over Nginx open source.
     
  20. knguyen2015

    knguyen2015 New Member

    11
    1
    3
    Aug 27, 2017
    Ratings:
    +1
    Local Time:
    6:23 PM
    1.12.1
    15.1
    Do you have official HPACK that supports 1.3.10?
     
  21. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    8:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
..