Мы начали сборку nginx с поддержкой модуля http v3 (ex-QUIC) для CentOS 8 / RHEL 8/ AlmaLinux 8 / Rocky Linux 8.
Для установки нужно в дополнение к основному установить и включить тестовый репозиторий:
dnf install -y https://repo.codeit.guru/codeit-repo-release.el8.rpm epel-release && dnf module enable -y nginx:codeit-quic
Пример конфигурации работающего HTTP/3 на порту 443/UDP см. в /etc/nginx/conf.d/default-ssl.conf.example!
Собранный тестовый пакет имеет версию 1.26.1-1, но определяется самим nginx binary как 1.27.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
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.
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.
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.