Fwd: Nginx HTTP/3 Issue

Raminda Subashana iwaraminda at googlemail.com
Mon Jul 5 19:19:03 UTC 2021

Dear All,

I have an issue with the Nginx HTTP3. when I add the "add_header alt-svc
'h3-29=":443"; ma=86400';" instead of "add_header Alt-Svc 'h3=":443"';" to
the server block browser " err_too_many_redirects". Below is my simple
config file to run a Magento 2.4.2 site.

upstream fastcgi_backend {
  server  unix:/run/php/php7.4-fpm.sock;

server {

  listen 80;
  server_name demo3.eazykart.lk;
  set $MAGE_ROOT /var/www/html/demo3.eazykart.lk/public_html;
  include /var/www/html/demo3.eazykart.lk/public_html/nginx.conf.sample;

    listen 443 http3 reuseport;  # UDP listener for QUIC+HTTP/3
    listen 443 ssl http2;              # TCP listener for HTTP/1.1
    ssl_protocols       TLSv1.3; # QUIC requires TLS 1.3
    ssl_certificate /etc/letsencrypt/live/demo3.eazykart.lk/fullchain.pem;
# managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/demo3.eazykart.lk/privkey.pem;
# managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    add_header alt-svc 'h3-29=":443"; ma=86400';
    add_header QUIC-Status $quic;     # Sent when QUIC was used


With the "add_header Alt-Svc 'h3=":443"';" https://www.http3check.net/ says
quic & http3 supported, but browser shows h2. If I add " add_header alt-svc
'h3-29=":443"; ma=86400';" browser shows h3-29 but after few seconds it
shows  "err_too_many_redirects"

With the "add_header Alt-Svc 'h3=":443"';" https://gf.dev/http3-test test
fail. But the test is successful if I check with "add_header alt-svc
'h3-29=":443"; ma=86400'; " & cannot load the web page.

SITE URL : https://demo3.eazykart.lk/

Please help me to resolve the issue, If anyone can share the correct config
for magento much appreciate it.

[image: image.png]


Thanks & Regards,

*Raminda Subhashana*

Mobile : 0773482137

*Please consider the environmental impact of needlessly printing this
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210706/3686b9fb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 36841 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210706/3686b9fb/attachment-0001.png>

More information about the nginx mailing list