Nginx QUIC configuration file

HARISH KUMAR Ivaturi harishkumarivaturi at
Sat Oct 10 11:20:47 UTC 2020

This is my nginx configuration file.
/etc/nginx/conf.d$ sudo nano default.conf
server {
    listen       443 ssl;
    listen       443 http/3 reuseport;
    server_name  localhost;

    ssl_certificate cert.crt;
    ssl_certificate_key cert.key;
    # Enable all TLS versions (TLSv1.3 is required for QUIC).
    ssl_protocols TLSv1.3;

    # Add Alt-Svc header to negotiate HTTP/3.
    add_header Alt-Svc 'quic=":443"';
    add_header QUIC-Status $quic;

    #charset koi8-r;
    #access_log  /var/log/nginx/host.access.log  main;

    location / {
        root   /usr/share/nginx/html;
        index  index.html index.htm;

    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;

After this i run
sudo service nginx restart
and it says Job for nginx.service failed because the control process exited
with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
Okk then i check in systemctl status nginx.service and the error displayed

2020/10/10 11:18:01 [emerg] 17014#17014: invalid parameter "http3" in

Later i have replaced with quic in default.conf and again the same error
2020/10/10 11:15:47 [emerg] 16898#16898: invalid parameter "quic" in

I request you to help me with the configuration file i.e. default.conf .
I need web response of http/3 request by running curl commands
curl -k --http3 -v ""

Harish Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list