Welcome! Log In Create A New Profile

Advanced

Re: HTTP/3 with multiple server blocks

Sergey Kandaurov
November 02, 2020 08:40AM
> On 30 Oct 2020, at 22:21, Jonny Barnes <jonnybarnes@gmail.com> wrote:
>
> Can we do this?
>
> First issue is if I add the line `listen 443 http3 resueport` to more than one server {} block the nginx conf test gives the following error:
>
> > nginx: [emerg] duplicate listen options for 0.0.0.0:443 in /usr/local/nginx/conf/sites-enabled/legolas:2
> > nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed

That's expected behaviour, see for detailed explanation:
https://trac.nginx.org/nginx/ticket/1912

>
> It seemingly works if i only have it for one of my server blocks. But I can‘t get my firefox browser to connect with HTTP/3. It does connect to quic.nginx.org over HTTP/3.

You may want to hint Firefox about QUIC protocol using Alt-Svc.

--
Sergey Kandaurov

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

HTTP/3 with multiple server blocks

Jonny Barnes 358 October 30, 2020 06:22PM

Re: HTTP/3 with multiple server blocks

Sergey Kandaurov 114 November 02, 2020 08:40AM

Re: HTTP/3 with multiple server blocks

Jonny Barnes 94 November 02, 2020 03:02PM

Re: HTTP/3 with multiple server blocks

Jonny Barnes 160 November 02, 2020 03:16PM



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

Online Users

Guests: 175
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