virtualmin / virtualmin-gpl

Virtualmin web hosting control panel for Webmin
https://www.virtualmin.com
GNU General Public License v3.0
331 stars 102 forks source link

Support for QUIC and HTTP/3 #883

Open chris001 opened 3 months ago

chris001 commented 3 months ago

It would be great to add support to enable HTTP/3 for Nginx virtual servers.

Nginx Open Source 1.25.0 supports HTTP/3, and was released over a year ago, in May 2023.

As of June 2024, HTTP/3 is fully supported by 79% of all web browser installations and 29% of the top 10 million websites. It has been supported by Chromium (and derived projects including Google Chrome, Microsoft Edge, Samsung Internet, and Opera) since April 2020 and by Mozilla Firefox since May 2021. (source)

iliajie commented 3 months ago

Hello Chris!

Thanks for the heads up!

For the time being, adding support for Nginx with HTTP/3 in Virtualmin won't be very useful, as it isn't supported upstream by any system we support. Even Ubuntu 24.04 still ships with Nginx 1.24.0.

chris001 commented 3 months ago

You're right, only Nginx 1.24 ships with Ubuntu 24.04.

However, to upgrade Nginx in Ubuntu is easy and gets you the max performance of http/3.

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/nginx-mainline
sudo apt upgrade
sudo apt install nginx-full
sudo apt list libnginx-mod-*   # lists more nginx modules available to install

This upgrades you to Nginx 1.27.0 with HTTP/3 & brings benefits like reduced connection establishment time, no head of line blocking, improved security measures, lower latency, enhanced performance, more resilient and reliable.