Join the community today
Become a Member

Nginx [nginx-announce] nginx-1.23.0

Discussion in 'Nginx and PHP-FPM news & discussions' started by happyhacking, Jun 22, 2022.

  1. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    11:43 PM
    1.22.0
    MariadDB 10.4.25
    New nginx version available !


    Code (Text):
    Changes with nginx 1.23.0                                        21 Jun 2022
    
       *) Change in internal API: now header lines are represented as linked
          lists.
    
       *) Change: now nginx combines arbitrary header lines with identical
          names when sending to FastCGI, SCGI, and uwsgi backends, in the
          $r->header_in() method of the ngx_http_perl_module, and during lookup
          of the "$http_...", "$sent_http_...", "$sent_trailer_...",
          "$upstream_http_...", and "$upstream_trailer_..." variables.
    
       *) Bugfix: if there were multiple "Vary" header lines in the backend
          response, nginx only used the last of them when caching.
    
       *) Bugfix: if there were multiple "WWW-Authenticate" header lines in the
          backend response and errors with code 401 were intercepted or the
          "auth_request" directive was used, nginx only sent the first of the
          header lines to the client.
    
       *) Change: the logging level of the "application data after close
          notify" SSL errors has been lowered from "crit" to "info".
    
       *) Bugfix: connections might hang if nginx was built on Linux 2.6.17 or
          newer, but was used on systems without EPOLLRDHUP support, notably
          with epoll emulation layers; the bug had appeared in 1.17.5.
          Thanks to Marcus Ball.
    
       *) Bugfix: nginx did not cache the response if the "Expires" response
          header line disabled caching, but following "Cache-Control" header
          line enabled caching.
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    11:43 PM
    1.22.0
    MariadDB 10.4.25
    Be careful people, there is compilations errors:
    Code (Text):
    ../ngx_http_redis-0.3.7/ngx_http_redis_module.c: In function ‘ngx_http_redis_process_header’:
    ../ngx_http_redis-0.3.7/ngx_http_redis_module.c:530:26: error: ‘ngx_http_upstream_headers_in_t’ has no member named ‘content_encoding’
      530 |             u->headers_in.content_encoding = h;
          |                          ^
    make[1]: *** [objs/Makefile:1496: objs/addon/ngx_http_redis-0.3.7/ngx_http_redis_module.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory '/svr-setup/nginx-1.23.0'
    make: *** [Makefile:10: build] Error 2
    
     
  4. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    11:43 PM
    1.22.0
    MariadDB 10.4.25
  5. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    FYI, both 124.00stable and 130.00beta01 got updates for Nginx 1.23.0 compatibility and other updates

    centmin.sh menu option 4 nginx updates to 1.23.0 still are blocked off by default via NGINX_ONETWOTHREE_COMPAT='n' variable until further testing is done. However, you can also help test with NGINX_ONETWOTHREE_COMPAT='y' set in persistent config file /etc/centminmod/custom_config.inc prior to centmin.sh menu option 4 runs which will unblock nginx 1.23.0 updates.

     
  6. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    11:43 PM
    1.22.0
    MariadDB 10.4.25
    I did a new compilation test but i got this error:
    Code (Text):
    ../ngx_http_redis-0.3.7/ngx_http_redis_module.c: In function ‘ngx_http_redis_process_header’:
    ../ngx_http_redis-0.3.7/ngx_http_redis_module.c:530:26: error: ‘ngx_http_upstream_headers_in_t’ has no member named ‘content_encoding’
      530 |             u->headers_in.content_encoding = h;
          |                          ^
    make[1]: *** [objs/Makefile:1496: objs/addon/ngx_http_redis-0.3.7/ngx_http_redis_module.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory '/svr-setup/nginx-1.23.0'
    make: *** [Makefile:10: build] Error 2
    
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I think you're missing one more update, so re-run cmupdate to see if there's one more update

    Usually, I get into the habit of running cmupdate always before running centmin.sh menu
     
  8. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    11:43 PM
    1.22.0
    MariadDB 10.4.25
    You are right, i did the test on a old vps with version 123.09beta01, after updating to 124.00stable the compilation was unsuccesful again:
    Code (Text):
    ../ngx_http_redis-0.3.7/ngx_http_redis_module.c: In function ‘ngx_http_redis_process_header’:
    ../ngx_http_redis-0.3.7/ngx_http_redis_module.c:530:26: error: ‘ngx_http_upstream_headers_in_t’ has no member named ‘content_encoding’
      530 |             u->headers_in.content_encoding = h;
          |                          ^
    make[1]: *** [objs/Makefile:1733: objs/addon/ngx_http_redis-0.3.7/ngx_http_redis_module.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory '/svr-setup/nginx-1.23.0'
    make: *** [Makefile:10: build] Error 2
    
    real    0m18.523s
    user    0m42.321s
    sys    0m18.517s
    
    Wed Jul  6 12:01:04 CDT 2022
    Error: 2, Nginx make failed
    
     
  9. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    whopos - missed one backported update from 130.00beta01. Updated 124.00stable to add that update, so run cmupdate and try again :)
     
  10. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    11:43 PM
    1.22.0
    MariadDB 10.4.25
    Thanks, now compiled perfectly, i’ll try to use it on production VPS servers, should i note any possible issues with this version?
     
  11. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    That's why it's still hidden before the flag to be enabled and why I asked folks to test it and report any issues :D
     
  12. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    11:43 PM
    1.22.0
    MariadDB 10.4.25
    Already set it on 10 production servers 12 hours ago and everything was working flawless, i can even confirm that HPACK and DYNAMICTLS patches are working fine too, GCC-11 compiled. By the way I just want to add that i dont use Redis on my servers, so im not sure if this redis module would work as expected, everything else is exactly the same as the 1.21.6 version.
     
  13. adamus007p

    adamus007p Member

    366
    18
    18
    Feb 8, 2019
    Ratings:
    +35
    Local Time:
    6:43 AM
  14. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    So far no ones reported issues and I haven't myself. But depends on if folks report issues too. Try and see :)
     
  15. buik

    buik “The best traveler is one without a camera.”

    2,001
    519
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,651
    Local Time:
    6:43 AM
    That depends on what you're running.
    Should it be a webshop (money site) I would only run CMM stable with accompanying stable software: Nginx 1.22 (=1.21.6). If the website is less urgent you can consider 1.23.
     
  16. adamus007p

    adamus007p Member

    366
    18
    18
    Feb 8, 2019
    Ratings:
    +35
    Local Time:
    6:43 AM
    Hello @buik thank you for the respond. It is a ecommerce so I will stay with 1.21.6. I was confused as centminmode showed me that there is an update. I use stable centminmode version so I thoung that it will show only stable and tested versions of all updates (also nginx updates).
     
  17. Chris

    Chris Member

    51
    10
    8
    Feb 27, 2015
    Ratings:
    +15
    Local Time:
    12:43 AM
    1.7
    10
    Has anyone upgraded to Xnginx from 1.21.6 yet?
     
  18. Rhodium

    Rhodium New Member

    14
    4
    3
    Jul 1, 2020
    Ratings:
    +6
    Local Time:
    6:43 AM
    Yes, i updated without problem.
     
  19. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    12:43 PM
    Mainline
    10.2
    You mean nginx-1.25.0 ?
     
  20. Chris

    Chris Member

    51
    10
    8
    Feb 27, 2015
    Ratings:
    +15
    Local Time:
    12:43 AM
    1.7
    10
    lol, no, I haven't upgraded from 1.21.6 yet.