Nginx QUIC configuration file
Maxim Konovalov
maxim at nginx.com
Sat Oct 10 15:00:49 UTC 2020
On 10.10.2020 17:56, HARISH KUMAR Ivaturi wrote:
> Hi
>
> Sorry, this is my final default.conf
>
> server {
> listen 443 ssl; # TCP listener for HTTP/1.1
> listen 443 http3 reuseport; # UDP listener for QUIC+HTTP/3
> server_name localhost;
> ssl_protocols TLSv1.3; # QUIC requires TLS 1.3
> ssl_certificate cert.crt;
> ssl_certificate_key cert.key;
>
> add_header Alt-Svc 'quic=":443"'; # Advertise that QUIC is available
> add_header QUIC-Status $quic; # Sent when QUIC was used
> }
>
> after this i run
> curl -k --http3 -v "https://127.0.0.1:443"
>
> And in another terminal i have my
> sudo tail -f /var/log/nginx/error.log
>
> 2020/10/10 14:45:24 [emerg] 25485#25485: invalid parameter "http3" in
> /etc/nginx/conf.d/default.conf:3
>
> Help me with this issue.
>
You probably complied nginx from the vanilla repo while you should take
it from this one:
https://hg.nginx.org/nginx-quic/file/quic
See https://quic.nginx.org/ for more information.
--
Maxim Konovalov
More information about the nginx-devel
mailing list