<div dir="auto"><div><br><div class="gmail_quote"><br><br><div dir="ltr">Dear All,<div><br></div><div>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.</div><div><br></div><div><br></div><div>upstream fastcgi_backend {<br> server unix:/run/php/php7.4-fpm.sock;<br>}<br><br>server {<br><br> listen 80;<br> server_name <a href="http://demo3.eazykart.lk" target="_blank" rel="noreferrer">demo3.eazykart.lk</a>;<br> set $MAGE_ROOT /var/www/html/<a href="http://demo3.eazykart.lk/public_html" target="_blank" rel="noreferrer">demo3.eazykart.lk/public_html</a>;<br> include /var/www/html/<a href="http://demo3.eazykart.lk/public_html/nginx.conf.sample" target="_blank" rel="noreferrer">demo3.eazykart.lk/public_html/nginx.conf.sample</a>;<br><br><br> listen 443 http3 reuseport; # UDP listener for QUIC+HTTP/3<br> listen 443 ssl http2; # TCP listener for HTTP/1.1<br> ssl_protocols TLSv1.3; # QUIC requires TLS 1.3<br> ssl_certificate /etc/letsencrypt/live/<a href="http://demo3.eazykart.lk/fullchain.pem" target="_blank" rel="noreferrer">demo3.eazykart.lk/fullchain.pem</a>; # managed by Certbot<br> ssl_certificate_key /etc/letsencrypt/live/<a href="http://demo3.eazykart.lk/privkey.pem" target="_blank" rel="noreferrer">demo3.eazykart.lk/privkey.pem</a>; # managed by Certbot<br> include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot<br> ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot<br> add_header alt-svc 'h3-29=":443"; ma=86400';<br> add_header QUIC-Status $quic; # Sent when QUIC was used<br><br>}</div><div><br></div><div>With the "<span style="color:inherit;font-family:Consolas,"Andale Mono","DejaVu Sans Mono",monospace;font-size:inherit;font-style:inherit;font-weight:inherit;background-color:rgb(230,230,230);white-space:pre-wrap">add_header Alt-Svc 'h3=":443"';" </span><a href="https://www.http3check.net/" target="_blank" rel="noreferrer">https://www.http3check.net/</a> 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"</div><div><br></div><div>With the "<span style="color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;font-family:Consolas,"Andale Mono","DejaVu Sans Mono",monospace;background-color:rgb(230,230,230);white-space:pre-wrap">add_header Alt-Svc 'h3=":443"';" </span><a href="https://gf.dev/http3-test" target="_blank" rel="noreferrer">https://gf.dev/http3-test</a> 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.</div><div><br></div><div>SITE URL : <a href="https://demo3.eazykart.lk/" target="_blank" rel="noreferrer">https://demo3.eazykart.lk/</a></div><div><br></div><div>Please help me to resolve the issue, If anyone can share the correct config for magento much appreciate it. </div><div><br></div><div><img src="cid:ii_kqqzducd0" alt="image.png" style="margin-right:25px"><br><div><br></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><p style="margin:0in 0in 0pt"><a name="m_-8911225531304408329_SignatureSanitizer_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter__MailAutoSig" rel="noreferrer"><span style="font-size:10pt;color:rgb(148,54,52);font-family:Cambria,serif">Thanks & Regards,</span></a></p>
<p style="margin:0in 0in 0pt"><span><b><span style="font-size:10pt;color:rgb(148,54,52);font-family:Cambria,serif">Raminda Subhashana</span></b></span></p>
<p style="margin:0in 0in 0pt"><font color="#000000" face="Cambria, serif" size="1">Mobile : 0773482137</font></p>
<p style="margin:0in 0in 0pt"><span><span style="font-size:9pt"><font face="Calibri"><span> </span></font></span></span></p>
<p style="margin:0in 0in 0pt"><span><span style="font-size:10pt;color:blue;font-family:Garamond,serif"> </span></span></p>
<p style="margin:0in 0in 0pt"><font size="3"><span><span style="color:rgb(0,160,0);font-family:Webdings"></span></span><span><b><span style="color:rgb(0,160,0);font-family:"Footlight MT Light",serif">Please consider the environmental impact of needlessly printing this e-mail.</span></b></span></font><span><span style="color:rgb(31,73,125);font-family:"Footlight MT Light",serif"></span></span></p></div></div></div></div></div></div></div>
</div></div></div>