Welcome! Log In Create A New Profile

Advanced

Re: Nginx QUIC configuration file

Manuel
October 10, 2020 11:20AM
Hi,

can you verify that the nginx binary that is using the http3 config is the nginx that can do http3?
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.

> Am 10.10.2020 um 15:04 schrieb HARISH KUMAR Ivaturi <harishkumarivaturi@gmail.com>:
>
> Hi
>
> I have installed nginx with http/3 with mercurial.
> I just need a proper default.conf which is located in /etc/nginx/conf.d and in default.conf
>
> BR
> Harish Kumar
>
>> On Sat, Oct 10, 2020 at 5:00 PM Maxim Konovalov <maxim@nginx.com> wrote:
>> 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
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Nginx QUIC configuration file

HARISH KUMAR Ivaturi 2686 October 10, 2020 07:22AM

Re: Nginx QUIC configuration file

Manuel 1281 October 10, 2020 09:28AM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 495 October 10, 2020 10:50AM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 420 October 10, 2020 10:58AM

Re: Nginx QUIC configuration file

Maxim Konovalov 378 October 10, 2020 11:02AM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 305 October 10, 2020 11:06AM

Re: Nginx QUIC configuration file

Manuel 278 October 10, 2020 11:20AM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 276 October 10, 2020 11:24AM

Re: Nginx QUIC configuration file

Manuel 412 October 11, 2020 07:08PM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 526 October 11, 2020 07:18PM

Re: Nginx QUIC configuration file

Manuel 448 October 12, 2020 02:04AM

Re: Nginx QUIC configuration file

Manuel 332 October 10, 2020 11:22AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 139
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready