← Start of tutorial

WIUNIX ACADEMY

Build Nginx with HTTP/3 and verify QUIC

Page 5 of 5. Review the earlier steps and prerequisites before continuing.

YOUR SYSTEM. YOUR STEPS.

Where are you working?

Choose your OS and version. The prerequisites, commands and troubleshooting follow your environment.

Arch Linux rolling — 2026-11-05Reviewed against official documentation ·

USE YOUR OWN VALUES

Configure this tutorial

Set the example values for your environment; related explanations and copy panels update together. Never enter passwords, private keys or tokens. Values stay in this tab and are not sent to the server or share links. Check actual DNS, certificates and network policy before running commands.

Different IP addresses, domains or ports? Open the settings below, change the values and select “Apply to tutorial”, then copy the updated commands.

Set values for my environment3 editable values

Maintain the manually built Nginx installation

Package updates maintain distro libraries but do not rebuild this Nginx binary. Track upstream security notices, verify the next source release and test upgrades while retaining the previous binary and configuration.

After a TLS library update, plan a service restart so Nginx loads the new library. Then repeat the strict external HTTP/3 check.

Monitor certificate expiry, external TCP HTTPS and HTTP/3, log growth and service health. Define log rotation and retention before production use. This lab does not establish capacity, latency gains, high availability or complete application hardening.

Withdraw QUIC while retaining HTTPS

Back up the current configuration and open the editor using this block. The required file edit is shown next. Retain TCP TLS, certificate paths and the ACME location; reload only after editing and successful validation.

Reachable clients receiving clear discard cached alternatives. Allow the former 300-second lifetime to expire for others. Reconcile only UDP rules introduced for this lab after checking they are not shared. Keep TCP 80 for renewal and TCP 443 for HTTPS.

The earlier HTTP-only backup removes HTTPS, so use it only if that reduced service is intentional. For full retirement follow the separate section below while preserving other sites.

Bash

Server terminal · edit only the lab configuration

sudo test ! -e '/opt/nginx-quic/conf/nginx.conf.quic-before' && sudo test ! -L '/opt/nginx-quic/conf/nginx.conf.quic-before' || exit 1
sudo cp -a '/opt/nginx-quic/conf/nginx.conf' '/opt/nginx-quic/conf/nginx.conf.quic-before'
sudoedit '/opt/nginx-quic/conf/nginx.conf'
How do I know it worked?

The backup is saved and the configuration is open for the edit shown next.

Apply the configuration change

Remove the two indicated lines from the existing TLS server and replace the previous advertisement with the final directive. This is a local file edit, not a replacement for the complete configuration.

Nginx · /opt/nginx-quic/conf/nginx.conf

Configuration edit · do not run in a shell

# Remove these existing lines:
# listen 443 quic reuseport;
# http3 on;

# Replace the previous Alt-Svc directive with:
add_header Alt-Svc clear always;

Validate and load the rollback

After saving, validate and reload. Then repeat the earlier external TCP HTTPS panel from the HTTP/3 proof section, keeping hostname and certificate verification. A successful local reload alone does not prove external HTTPS.

Bash

Server terminal

sudo /opt/nginx-quic/sbin/nginx -t && sudo systemctl reload academy-nginx-quic
How do I know it worked?

Validation and reload succeed, and external TCP HTTPS still responds.

If you retire this lab

This optional section stops the lab endpoint. First move its dedicated renewal hook out of the active directory into protected storage, then stop the service and disable startup. Use this only for this isolated installation.

Reconcile lab-specific DNS and firewall changes. Retain certificates and private state until their lifecycle is decided; never remove the shared certificate-management directory wholesale.

Bash

Server terminal · optional; stops the endpoint

sudo install -d -m 700 /root/academy-nginx-retired
sudo test ! -e /root/academy-nginx-retired/academy-nginx-quic.sh && sudo test ! -L /root/academy-nginx-retired/academy-nginx-quic.sh || exit 1
sudo mv -- /etc/letsencrypt/renewal-hooks/deploy/academy-nginx-quic.sh /root/academy-nginx-retired/academy-nginx-quic.sh
sudo systemctl disable --now academy-nginx-quic

Choose the next useful exercise

You now have a signed-source Nginx installation, an explicit service and a check that distinguishes real HTTP/3 from fallback. Repeat it after relevant network, certificate or binary changes.

The completed Caddy guide below offers a different exercise: automatic certificates and a private reverse-proxy backend. Do not run both labs on the same public ports without a migration plan.

GO TO THE SOURCE

Official references

Each environment states how it was reviewed. A documentation review does not claim a hands-on test of every version.

KEEP LEARNING

Your next step

Explore all tutorials ↗