<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div><br></div><div>the error message invalid parameter http3 doesn’t correspond with your config "listen 443 http/3" so ether nginx removes these / while printing the error message or it’s really wrong. But the official documentation says</div><div><br></div><div> <a href="https://www.nginx.com/blog/introducing-technology-preview-nginx-support-for-quic-http-3/">https://www.nginx.com/blog/introducing-technology-preview-nginx-support-for-quic-http-3/</a></div><div><br></div><div><pre style="box-sizing: inherit; margin-top: 0px; margin-bottom: 1.6em; overflow: auto; border: 0px; outline: 0px; padding: 1em; vertical-align: baseline; line-height: 1.4; max-width: 100%; tab-size: 4; position: relative; z-index: 1;"><code class="config" style="box-sizing: inherit; word-break: normal; border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleBody">server {
    listen 443 ssl;              # TCP listener for HTTP/1.1</font></code></pre><pre style="box-sizing: inherit; margin-top: 0px; margin-bottom: 1.6em; overflow: auto; border: 0px; outline: 0px; padding: 1em; vertical-align: baseline; line-height: 1.4; max-width: 100%; tab-size: 4; position: relative; z-index: 1;"><span style="font-family: UICTFontTextStyleBody; font-style: inherit; white-space: normal; background-color: rgba(255, 255, 255, 0);">listen 443 http3 reuseport;  # UDP listener for QUIC+HTTP/3 </span></pre><pre style="box-sizing: inherit; margin-top: 0px; margin-bottom: 1.6em; overflow: auto; border: 0px; outline: 0px; padding: 1em; vertical-align: baseline; line-height: 1.4; max-width: 100%; tab-size: 4; position: relative; z-index: 1;"><code class="config" style="box-sizing: inherit; word-break: normal; border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleBody">Then your config is wrong.</font></code></pre><pre style="box-sizing: inherit; margin-top: 0px; margin-bottom: 1.6em; overflow: auto; border: 0px; outline: 0px; padding: 1em; vertical-align: baseline; line-height: 1.4; max-width: 100%; tab-size: 4; position: relative; z-index: 1;"><font face="UICTFontTextStyleBody"><span style="white-space: normal;">Where did you got the http/3 parameter?</span></font></pre><pre style="box-sizing: inherit; margin-top: 0px; margin-bottom: 1.6em; overflow: auto; border: 0px; outline: 0px; padding: 1em; vertical-align: baseline; line-height: 1.4; max-width: 100%; tab-size: 4; position: relative; z-index: 1;"><font face="UICTFontTextStyleBody"><span style="white-space: normal;">Best,</span></font></pre><pre style="box-sizing: inherit; margin-top: 0px; margin-bottom: 1.6em; overflow: auto; border: 0px; outline: 0px; padding: 1em; vertical-align: baseline; line-height: 1.4; max-width: 100%; tab-size: 4; position: relative; z-index: 1;"><font face="UICTFontTextStyleBody"><span style="white-space: normal;">Manuel</span></font></pre></div><div><br><div dir="ltr"><br>Am 10.10.2020 um 11:20 schrieb HARISH KUMAR Ivaturi <<a href="mailto:harishkumarivaturi@gmail.com">harishkumarivaturi@gmail.com</a>>:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">Hi<div>This is my nginx configuration file. <div>/etc/nginx/conf.d$ sudo nano default.conf <br></div><div>server {<br>    listen       443 ssl;<br>    listen       443 http/3 reuseport;<br>    server_name  localhost;<br><br>    ssl_certificate cert.crt;<br>    ssl_certificate_key cert.key;<br>    # Enable all TLS versions (TLSv1.3 is required for QUIC).<br>    ssl_protocols TLSv1.3;<br><br>    # Add Alt-Svc header to negotiate HTTP/3.<br>    add_header Alt-Svc 'quic=":443"';<br>    add_header QUIC-Status $quic;<br><br><br>    #charset koi8-r;<br>    #access_log  /var/log/nginx/host.access.log  main;<br><br>    location / {<br>        root   /usr/share/nginx/html;<br>        index  index.html index.htm;<br>    }<br><br>    #error_page  404              /404.html;<br><br>    # redirect server error pages to the static page /50x.html<br>    #<br>    error_page   500 502 503 504  /50x.html;<br>    location = /50x.html {<br>        root   /usr/share/nginx/html;<br>    }<br></div></div><div><br></div><div><br></div><div>After this i run </div><div>sudo service nginx restart<br></div><div>and it says Job for nginx.service failed because the control process exited with error code.</div>See "systemctl status nginx.service" and "journalctl -xe" for details.<br><div>Okk then i check in systemctl status nginx.service and the error displayed is </div><div><br></div><div>2020/10/10 11:18:01 [emerg] 17014#17014: invalid parameter "http3" in /etc/nginx/conf.d/default.conf:3<br></div><div><br></div><div>Later i have replaced with quic in default.conf and again the same error </div><div>2020/10/10 11:15:47 [emerg] 16898#16898: invalid parameter "quic" in /etc/nginx/conf.d/default.conf:3<br></div><div><br></div><div>I request you to help me with the configuration file i.e. default.conf .</div><div>I need web response of http/3 request by running curl commands </div><div>curl -k --http3 -v "<a href="https://127.0.0.1:443">https://127.0.0.1:443</a>"<br></div><div><br></div><div>BR</div><div>Harish Kumar</div></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>nginx-devel mailing list</span><br><span><a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a></span><br><span><a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a></span></div></blockquote></div></body></html>