Want to subscribe to topics you're interested in?
Become a Member

Nginx Official Nginx HTTP/3 QUIC Tech Preview announced

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Jun 11, 2020.

  1. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    5:12 AM
    1.22.0
    MariadDB 10.4.25
    Already did a compilation of nginx with
    Code:
    NGINX_HPACK='y'                         
    NGINX_HPACK_ALLOWED_VER='1025005'       
    NGINX_DYNAMICTLS_ALLOWED_VER='1025005'  
    NGINX_DYNAMICTLS='y'                    
    
    but there are errors:
    Code (Text):
    1025000
    /svr-setup /svr-setup/nginx-1.25.0 ~
    /svr-setup/nginx-1.25.0 ~
    /svr-setup/srcache-nginx-module-0.32 /svr-setup/nginx-1.25.0 ~
    patching srcache-nginx-module
    patch -p1 < /usr/local/src/centminmod/patches/srcache-nginx/srcache-nginx-1.23.0.patch
    patching file .travis.yml
    Hunk #1 FAILED at 25.
    1 out of 1 hunk FAILED -- saving rejects to file .travis.yml.rej
    patching file src/ngx_http_srcache_headers.c
    patching file src/ngx_http_srcache_util.c
    
    patching srcache-nginx-module for nginx 1.23.0+
    /svr-setup/nginx-1.25.0 ~
    1025000
    
    ./configure: error: invalid option "--with-http_v2_hpack_enc"
    
    Error: 2, Nginx make failed
    


     
  2. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:12 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod 130.00beta01 defaults to NGINX_HPACK_ALLOWED_VER='1024005' meaning latest Nginx version that supports Nginx HTTP/2 full HPACK encoding patch is 1.24.5 max. You set 1.25.5 max and clearly HPACK patch isn't supported in Nginx 1.25 set it back to NGINX_HPACK_ALLOWED_VER='1024005' to allow Centmin Mod to skip enabling HPACK patch support for Nginx 1.25.x branch
     
  3. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    5:12 AM
    1.22.0
    MariadDB 10.4.25
    Thanks @eva2000 i guess i expected that everything worked fine on new release, rolled back to 1.24.0
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:12 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Looks like Nginx 1.25.1 was released to master branch ~10hrs to fix HTTP/3 QUIC issue https://hg.nginx.org/nginx/shortlog/default

    bug #2500 (After update to nginx 1.25 and configure vhost to enable http/3 quic error generated) – nginx

    Hence why Nginx folks say 1.25.0 is experimental for HTTP/3 QUIC support

    Code (Text):
    curl --http3 -I https://domain.com
    HTTP/3 200 
    date: Mon, 29 May 2023 21:37:28 GMT
    content-type: text/html; charset=utf-8
    content-length: 6416
    last-modified: Sat, 20 May 2023 21:18:27 GMT
    vary: accept-encoding
    etag: "64693923-1910"
    server: nginx centminmod
    x-powered-by: centminmod
    alt-svc: h3=":443"; ma=86400
    x-protocol: HTTP/3.0
    accept-ranges: bytes
    
     
  5. buik

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

    2,026
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,674
    Local Time:
    12:12 PM
  6. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:12 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yup saw that. In next nginx 1.25.1 they're also deprecating http2 flag in listener directive and adding separate http2 directive for on/off for HTTP/2 support https://hg.nginx.org/nginx/rev/08ef02ad5c54. Luckily, it still works in 1.25.1, just they are giving a warning for deprecation when running nginx -t config test command. Currently, testing a routine to detect nginx 1.25.1+ and auto modify all Centmin Mod HTTPS nginx vhosts and also auto revert back if detected nginx <=1.25.0
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:12 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Nginx 1.25.1 just released so updated Centmin Mod 130.00beta01's centmin.sh menu option 4 nginx upgrade/downgrade routine to auto switch between the 2 supported http2 parameter (<=1.25.0) and http2 directive (>=1.25.1) methods https://community.centminmod.com/th...tive-change-in-130-00beta01.23888/#post-96496
     
  8. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:12 PM
    Mainline
    10.2
    Using HTTP3 on live site not using CF, with these configs only:
    Code:
    listen      443 quic reuseport;
    listen [::]:443 quic reuseport;
    add_header Alt-Svc 'h3=":443"; ma=86400';
    
     
  9. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:12 PM
    Mainline
    10.2
    Related comment:
    https://www.nginx.com/blog/binary-p...quic-http3-implementation/#comment-6186059344
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:12 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+