<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div><br></div><div>can you verify that the nginx binary that is using the http3 config is the nginx that can do http3?</div><div>For this you have to locate the systemd file that starts the nginx server and then look into the file to which path the executable point. Then run minus minus version on the binary.</div><div><div dir="ltr"><br>Am 10.10.2020 um 15:04 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><br></div><div>I have installed nginx with http/3 with mercurial. </div><div>I just need a proper default.conf which is located in /etc/nginx/conf.d and in default.conf</div><div><br></div><div>BR</div><div>Harish Kumar</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 10, 2020 at 5:00 PM Maxim Konovalov <<a href="mailto:maxim@nginx.com">maxim@nginx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10.10.2020 17:56, HARISH KUMAR Ivaturi wrote:<br>
> Hi<br>
> <br>
> Sorry, this is my final default.conf<br>
> <br>
> server {<br>
> listen 443 ssl; # TCP listener for HTTP/1.1<br>
> listen 443 http3 reuseport; # UDP listener for QUIC+HTTP/3<br>
> server_name localhost;<br>
> ssl_protocols TLSv1.3; # QUIC requires TLS 1.3<br>
> ssl_certificate cert.crt;<br>
> ssl_certificate_key cert.key;<br>
> <br>
> add_header Alt-Svc 'quic=":443"'; # Advertise that QUIC is available<br>
> add_header QUIC-Status $quic; # Sent when QUIC was used<br>
> }<br>
> <br>
> after this i run <br>
> curl -k --http3 -v "<a href="https://127.0.0.1:443" rel="noreferrer" target="_blank">https://127.0.0.1:443</a>"<br>
> <br>
> And in another terminal i have my <br>
> sudo tail -f /var/log/nginx/error.log<br>
> <br>
> 2020/10/10 14:45:24 [emerg] 25485#25485: invalid parameter "http3" in<br>
> /etc/nginx/conf.d/default.conf:3<br>
> <br>
> Help me with this issue.<br>
> <br>
You probably complied nginx from the vanilla repo while you should take<br>
it from this one:<br>
<br>
<a href="https://hg.nginx.org/nginx-quic/file/quic" rel="noreferrer" target="_blank">https://hg.nginx.org/nginx-quic/file/quic</a><br>
<br>
See <a href="https://quic.nginx.org/" rel="noreferrer" target="_blank">https://quic.nginx.org/</a> for more information.<br>
<br>
-- <br>
Maxim Konovalov<br>
</blockquote></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>