Close Menu
  • Home
  • Life style
    • Beauty tips
    • Exercise & Training
    • Fashion
    • Healthline
  • Exploration
    • Celebrities
    • Business
    • Travel guides
    • Technology
  • Web tutorials
    • Hosting & Servers
    • Blogger guides
    • WordPress guides
  • English
    • Tiếng Việt
    • Hmong
    • English
Facebook YouTube X (Twitter) Instagram
Trending
  • Search Profile or Preferred Sources: Choose the Right Tool for Your Website
  • Set Up Brevo for WordPress: Verify Senders and Test SMTP Email
  • Samsung Galaxy S27 Ultra: 5,700mAh Battery, 60W Charging and Open Questions
  • How to Create a Better-Looking Blogger Comment Box with CSS
  • Amazfit’s Lactate Threshold Update: Use the Data to Run at the Right Effort
  • How to Check Whether Yandex Has Indexed an Article
  • Set Yandex Site Region and Check How Your Website Appears
  • What to Prepare Before Connecting a Website to Yandex Webmaster
Facebook YouTube X (Twitter) Instagram
SaibABCSaibABC
Chú thích cho quảng cáo
  • Home
  • Life style
    1. Beauty tips
    2. Exercise & Training
    3. Fashion
    4. Healthline
    5. View All

    Build a Simple Skincare Routine Without Buying Too Many Products

    30/08/2026

    How to choose mineral sunscreen that does not leave a white cast

    30/08/2026

    What Does PDRN in Cosmetics Do? How to Read Advertising

    30/08/2026

    Skincare While Losing Weight: Keep Skin More Hydrated, Healthy, and Firm

    30/08/2026

    Running in Hot Weather: Read WBGT and Know When to Stop

    19/09/2026

    Exercise With Atrial Fibrillation: How to Start and Progress Safely

    19/09/2026

    Five-Minute Office Exercises: A Snack-Sized Movement Schedule

    30/08/2026

    Strengthen Your Core with 12 Exercises from Beginner to Advanced

    30/08/2026

    Fashion Digital Product Passport: What Can You Read?

    30/08/2026

    Build a Minimalist Wardrobe in 2026: Buy Less, Wear Longer

    30/08/2026

    Winter Travel Fashion: Stylish Outfits for Men and Women

    22/12/2023

    Amazfit’s Lactate Threshold Update: Use the Data to Run at the Right Effort

    28/09/2026

    Running in Hot Weather: Read WBGT and Know When to Stop

    19/09/2026

    Exercise With Atrial Fibrillation: How to Start and Progress Safely

    19/09/2026

    Suunto Run Heart-Rate Tracking After an Update: Check Your Zones Before Running

    19/09/2026

    Amazfit’s Lactate Threshold Update: Use the Data to Run at the Right Effort

    28/09/2026

    Running in Hot Weather: Read WBGT and Know When to Stop

    19/09/2026

    Exercise With Atrial Fibrillation: How to Start and Progress Safely

    19/09/2026

    Suunto Run Heart-Rate Tracking After an Update: Check Your Zones Before Running

    19/09/2026
  • Exploration
    1. Celebrities
    2. Business
    3. Travel guides
    4. Technology
    Featured

    Samsung Galaxy S27 Ultra: 5,700mAh Battery, 60W Charging and Open Questions

    By Nuj Coom29/09/2026
    Recent

    Samsung Galaxy S27 Ultra: 5,700mAh Battery, 60W Charging and Open Questions

    29/09/2026

    Samsung Galaxy S26 Ultra Review: What Makes It Worth Buying—and What Doesn’t

    16/09/2026

    iPhone 18 Pro Max vs Galaxy S26 Ultra: Which One Should You Choose?

    16/09/2026
  • Web tutorials
    1. Hosting & Servers
    2. Blogger guides
    3. WordPress guides
    4. View All

    Let’s Encrypt on Vultr: Enable HTTPS and Automatic Renewal

    09/09/2026

    Install WordPress on Vultr Manually: From Ubuntu to HTTPS

    08/09/2026

    Point Your Domain to a Vultr VPS and Verify the DNS Connection

    08/09/2026

    Set Up an Ubuntu VPS on Vultr: From Account Creation to SSH

    07/09/2026

    How to Create a Better-Looking Blogger Comment Box with CSS

    28/09/2026

    A 90-Day Blog Growth Plan: Write, Measure, and Improve

    26/09/2026

    Blogspot Maintenance: Fix Broken Links, Images, and Slow Pages

    26/09/2026

    How Does Google Find a Blog? The 3 Key Stages Explained

    26/09/2026

    Set Up Brevo for WordPress: Verify Senders and Test SMTP Email

    29/09/2026

    How to Check Whether Yandex Has Indexed an Article

    26/09/2026

    Set Yandex Site Region and Check How Your Website Appears

    26/09/2026

    What to Prepare Before Connecting a Website to Yandex Webmaster

    26/09/2026

    Search Profile or Preferred Sources: Choose the Right Tool for Your Website

    14/10/2026

    Set Up Brevo for WordPress: Verify Senders and Test SMTP Email

    29/09/2026

    How to Create a Better-Looking Blogger Comment Box with CSS

    28/09/2026

    How to Check Whether Yandex Has Indexed an Article

    26/09/2026
  • English
    • Tiếng Việt
    • Hmong
    • English
SaibABCSaibABC
Home»Web tutorials»Hosting & Servers»HTTP/3 hosting: Measuring QUIC and HTTP/2 fallback
Hosting & Servers 7 Mins ReadNo Comments

HTTP/3 hosting: Measuring QUIC and HTTP/2 fallback

Nuj CoomBy Nuj CoomUpdated:02/09/2026
Facebook Twitter Pinterest LinkedIn Tumblr Email
Chú thích cho quảng cáo

Contents

  1. What is QUIC, and how does HTTP/3 differ from HTTP/2?
  2. Configuring HTTP/3 with Nginx and HTTP/2 fallback
    1. Basic Nginx configuration example
    2. Alt-Svc is not a redirect
  3. Measuring QUIC performance instead of looking only at the Lighthouse score
    1. Check the protocol with curl
    2. Read Nginx logs to confirm QUIC
  4. Proper HTTP/2 fallback: checks, common errors, and deployment decisions
    1. Pre-production checklist
    2. Common errors
  5. Reference source

HTTP/3 hosting is the deployment of a website over the HTTP/3 protocol, using QUIC instead of TCP. Proper configuration does not mean disabling HTTP/2; it means enabling HTTP/3 over UDP 443, maintaining HTTPS on TCP 443, and advertising the service with Alt-Svc. When QUIC cannot be used because of firewalls, corporate networks, or legacy devices, browsers can still access the site via HTTP/2.

In this article, I explain how to understand QUIC, configure HTTP/3 with Nginx, design a safe fallback, and establish a repeatable performance measurement process.

What is QUIC, and how does HTTP/3 differ from HTTP/2?

What is QUIC? It is a transport protocol that runs over UDP and integrates TLS 1.3 with multiplexing. HTTP/3 maps HTTP semantics onto QUIC instead of running over TCP like HTTP/1.1 and HTTP/2 (according to ietf.org).

CriterionHTTP/2HTTP/3
Transport protocolTCPQUIC over UDP
EncryptionTLS is commonly used with HTTPSTLS 1.3 is a required component of QUIC
Head-of-line blockingCan occur at the TCP layerReduced impact between streams
Connection migrationLimited when switching networksQUIC supports connection migration
Common portTCP 443UDP 443
FallbackNo fallback to HTTP/1.1 is needed in most modern browsersFalls back to HTTP/2 over TCP when UDP fails

HTTP/3 is generally more beneficial when users switch networks, use mobile connections, or experience latency and packet loss. However, you should not assume by default that every website will be noticeably faster. If the server already has low TTFB, few resources, and users are primarily on stable networks, the difference may be small. Measure using the same network location, the same content version, and the same cache state.

HTTP/3 also requires UDP to be open. Therefore, the firewall, load balancer, CDN, or hosting provider must forward UDP 443; opening only TCP 443 is not enough.

Chú thích cho quảng cáo

Configuring HTTP/3 with Nginx and HTTP/2 fallback

configuring HTTP/3 with Nginx and HTTP/2 fallback

Nginx supports the HTTP/3 module from the 1.25.0 mainline branch onward, but the module ngx_http_v3_module must be compiled or provided through a server package that includes the appropriate module (according to nginx.org). Before modifying the configuration, check the following:

  • Nginx has the HTTP/3 module: nginx -V 2>&1 | grep http_v3.
  • A valid TLS certificate is installed, and the domain points to the correct server.
  • Both TCP 443 and UDP 443 are permitted by the firewall.
  • The CDN or reverse proxy in front supports HTTP/3 and forwards the correct protocol.

If you are preparing an Ubuntu server, you can also see the initial Ubuntu Server configuration guide to review the firewall, SSH, and other foundational settings.

Basic Nginx configuration example

server {
    listen 443 ssl;
    listen 443 quic reuseport;

    server_name example.com www.example.com;

    ssl_certificate     /etc/letsencrypt/live/example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
    ssl_protocols       TLSv1.3;

    add_header Alt-Svc 'h3=":443"; ma=86400' always;

    location / {
        root /var/www/example;
        index index.html index.php;
    }
}

The line listen 443 ssl keeps HTTPS on TCP and allows HTTP/2 to operate. The line listen 443 quic reuseport enables QUIC over UDP on the same port. Nginx recommends using the same port for HTTP/3 and HTTPS for better compatibility (according to nginx.org).

To explicitly enable HTTP/2 on a compatible Nginx version, you can use:

listen 443 ssl http2;

On newer Nginx releases, the way HTTP/2 is declared may vary by version and configuration warnings. Run nginx -t before reloading. Do not remove the TCP listener simply because HTTP/3 is working: doing so would prevent users on networks that block UDP from accessing the site.

Alt-Svc is not a redirect

Alt-Svc It indicates that the same resource can be accessed via HTTP/3. Browsers typically establish HTTPS over TCP first, read the announcement, and then try QUIC on subsequent loads. Therefore, the first response may not use HTTP/3. Setting always helps the header appear in some error responses as well, but you still need to consider cache and proxy policies.

Measuring QUIC performance instead of looking only at the Lighthouse score

Measuring QUIC performance instead of looking only at the Lighthouse score

To evaluate HTTP/3 hosting, compare HTTP/2 and HTTP/3 under the same conditions. At a minimum, record connection time, TTFB, main resource load time, error rate, and recovery when switching networks.

Check the protocol with curl

# Chỉ thử HTTP/3, thất bại nếu QUIC không kết nối được
curl --http3-only -I https://example.com/

# Thử HTTP/3 và cho phép fallback về HTTP/2 hoặc HTTP/1.1
curl --http3 -I https://example.com/

# Ép HTTP/2 để tạo đường cơ sở
curl --http2 -I https://example.com/

--http3-only to confirm that QUIC is actually working; --http3 it enables a fallback mechanism similar to HTTPS eyeballing (see curl.se). Note that curl must be compiled with HTTP/3 support.

To measure multiple times, use the timing option:

curl --http3-only -sS -o /dev/null 
  -w 'HTTP=%{http_version} DNS=%{time_namelookup} connect=%{time_connect} start=%{time_starttransfer} total=%{time_total}n' 
  https://example.com/

Run it about 10–20 times for each protocol, disregard failed attempts, and note the time, location, IPv4/IPv6, and CDN cache status. Do not compare a cold HTTP/3 request with an HTTP/2 request that has already been cached.

Read Nginx logs to confirm QUIC

log_format protocols '$remote_addr $request $status http=$server_protocol h3=$http3 quic=$quic';
access_log /var/log/nginx/protocols.log protocols;

HTTP/3-related variables can help distinguish requests using QUIC from requests going through TCP. If the logs do not record an HTTP/3 request even though it was curl --http3-only successful, check the log format and the reload process.

For browser-based testing, open DevTools, go to Network, enable the Protocol column, and reload the page. The value usually shows h3 or h2. This is a practical way to check HTTP/3 on a website, but you should combine curl and server logs because browsers cache Alt-Svc.

Proper HTTP/2 fallback: checks, common errors, and deployment decisions

Good fallback should happen naturally at the connection layer, without JavaScript or redirects. The process should be: the browser tries HTTP/3 over UDP 443; if it does not receive a suitable response, it uses HTTPS over TCP 443 and negotiates HTTP/2 via ALPN. Administrators must ensure that both paths use the same certificate, hostname, content, and security policies.

Pre-production checklist

  1. Check that the certificate covers every hostname in use.
  2. Open TCP 443 and UDP 443 on the server, cloud firewall, and security group.
  3. Confirm that Nginx actually has the HTTP/3 module using nginx -V.
  4. Run nginx -t && systemctl reload nginx.
  5. Use curl --http3-only from at least two different networks.
  6. Use curl --http2 to confirm that the TCP path is still working.
  7. Check DevTools and logs to cross-reference the protocol.
  8. Monitor 4xx and 5xx error rates, UDP timeouts, and feedback from mobile users.

Common errors

  • Only TCP 443 is open: HTTP/2 works, but HTTP/3 always fails. The fix is to open UDP 443 at every network layer.
  • Disable the TCP listener: users behind corporate networks or strict firewalls lose fallback. Keep HTTPS over TCP enabled.
  • Incorrect Alt-Svc port or hostname: the browser tries QUIC where it does not exist. Use h3=":443" if HTTP/3 uses the same port.
  • Invalid certificate: QUIC requires TLS 1.3 and certificate validation just like regular HTTPS. Renew the certificate before testing.
  • CDN does not support HTTP/3 to the origin: users may see h3 at the CDN, while the CDN–origin connection remains HTTP/2 or HTTP/1.1. This is not an error, but the measurement scope must be understood correctly.
  • Evaluation based on a single load: the results are affected by cache, DNS, and network routing. Use multiple samples and report the median or p95.

If the website has high traffic or depends on a CDN, also check IPv6 because network path selection can change HTTP/3 measurement results. The practical IPv6 hosting test can be used as an additional checklist.

Conclusion: you should enable HTTP/3 when the provider offers stable UDP support, you control the firewall/CDN, and you have a measurement process. The safest configuration is to run HTTP/3 in parallel over UDP 443 and HTTP/2 over TCP 443. Do not deploy based on the slogan “HTTP/3 is always faster”; make the decision using TTFB, load time, error rate, and experience across real-world networks.

Reference source

  • Support for QUIC and HTTP/3
  • Module ngx_http_v3_module
  • HTTP/3 with curl
  • IETF RFC 9114: HTTP/3

Chú thích cho quảng cáo
HTTP/2 HTTP/3 Nginx QUIC Web Hosting Web Performance
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleEvaluating green hosting providers: How to verify claims
Next Article IPv6 Hosting: Verify Your Website’s Dual-Stack Readiness
Nuj Coom
  • Website
  • Facebook
  • X (Twitter)
  • Instagram

I'm a doctor, for sure. But I also love writing and sharing knowledge, life experiences, web tricks, and useful lectures. Let's cheer for your passion.

Related Posts

CPU Performance API: Make Web Interfaces Lighter for Low-End Devices

13/09/2026

Let’s Encrypt on Vultr: Enable HTTPS and Automatic Renewal

09/09/2026

Install WordPress on Vultr Manually: From Ubuntu to HTTPS

08/09/2026
Add A Comment
Leave A Reply Cancel Reply

Latest posts

WordPress Browser Extension: Manage WordPress Directly in the Browser

Wearable Workouts: Use Data to Exercise Safely

Why Your Website Isn’t Appearing on Bing: Diagnose the URL

Yoga for Older Adults: A Safe Exercise Schedule and How to Modify It

What’s new in WordPress 7.1? A checklist for safe use

Advertisement
Chú thích cho quảng cáo

SUBSCRIBE TO UPDATES

Get the latest creative news from SaibABC.Com on web tips, design, and business.

Copyright © 2024. Designed by NujCoom.
  • Home
  • Contact
  • Privacy
  • Tiếng Việt
  • Hmong

Type above and press Enter to search. Press Esc to cancel.