NGINX with HTTP/3 / QUIC support

We started test builds for nginx with http v3 (ex-QUIC) for CentOS 8 / RHEL 8/ AlmaLinux 8 / Rocky Linux 8. To get it, you need to install and configure our test repo:

yum install -y https://repo.codeit.guru/codeit-repo-release.el8.rpm epel-release && dnf module enable -y nginx:codeit-quic

The package has version 1.26.1-1, but defined nginx binary version is 1.27.1. This is a known issue. See bundled /etc/nginx/conf.d/default-ssl.conf.example for working HTTP/3 configuration example on port 443/UDP!

For testing purposes only!

4 thoughts on “NGINX with HTTP/3 / QUIC support”

  1. I always thanks your repo.

    I’ve testing it for http/3
    Am i miss some-thing?
    ———————-
    ~]# echo > /dev/udp/enteroa.com/443 && echo $?
    0
    ———————-
    ~]# curl -Iv –http3 https://www.enteroa.com
    * Trying 150.230.253.4:443…
    * Connect socket 5 over QUIC to 150.230.253.4:443
    * connect to 150.230.253.4 port 443 failed: Resource temporarily unavailable
    * Failed to connect to http://www.enteroa.com port 443: Resource temporarily unavailable
    * Closing connection 0
    curl: (7) Failed to connect to http://www.enteroa.com port 443: Resource temporarily unavailable
    ———————-
    ~]# rpm -qa | egrep “codeit”|sort
    brotli-1.0.9-1.codeit.el7.x86_64
    codeit-repo-release-1.0-2.codeit.el8.noarch
    libbrotli-1.0.9-1.codeit.el7.x86_64
    libnghttp2-1.47.0-3.codeit.el8.x86_64
    libnghttp2-devel-1.47.0-3.codeit.el8.x86_64
    nghttp3-0.4.0-1.codeit.el8.x86_64
    nghttp3-devel-0.4.0-1.codeit.el8.x86_64
    nghttp3-libs-0.4.0-1.codeit.el8.x86_64
    nginx-1.21.6-2.codeit.el8.x86_64
    nginx-module-image-filter-1.21.6-2.codeit.el8.x86_64
    nginx-module-njs-1.21.6+0.7.3-2.codeit.el8.x86_64
    nginx-module-perl-1.21.6-2.codeit.el8.x86_64
    nginx-module-xslt-1.21.6-2.codeit.el8.x86_64
    ngtcp2-0.4.0-1.codeit.el8.x86_64
    ngtcp2-devel-0.4.0-1.codeit.el8.x86_64
    ngtcp2-libs-0.4.0-1.codeit.el8.x86_64
    openssl-quic-devel-1.1.1o-1.codeit.el8.x86_64
    openssl-quic-libs-1.1.1o-1.codeit.el8.x86_64

    1. Hello Soohwan Jang,

      Have you installed/merged the default config default-ssl.conf.example (with lines “Alt-Svc” and “listen *:443 http3 reuseport”)? Only this additional listen line adds listener on 443 udp port.

      1. Thanks Alexander.

        In my case.
        set Alt-Svc ‘h3=”:443″; ma=86400, h3-29=”:443″; ma=86400’;
        just ‘h3=”:443″; is didn’t work for me.

        it’s still have a problem with curl. however chrome is perfactly work on http/3 protocol.

        1. Sorry, I cannot support you here, we only provide built and tested packages.
          By the way, we test them in an automated way using ngtcp2-client-example binary from our ngtcp2-0.4.0-2 package.

Leave a Reply

Your email address will not be published. Required fields are marked *