Welcome! Log In Create A New Profile

Advanced

Re: NGINX 1.23.4 warning message

Francis Daly
June 29, 2023 10:28AM
On Thu, Jun 29, 2023 at 11:00:21AM -0300, Fabiano Furtado Pessoa Coelho wrote:
> On Wed, Jun 28, 2023 at 10:03 PM Sergey A. Osokin <osa@freebsd.org.ru> wrote:
> > On Wed, Jun 28, 2023 at 05:19:55PM -0300, Fabiano Furtado Pessoa Coelho wrote:

Hi there,

> > > Changes with nginx 1.23.4 28 Mar 2023
> > >
> > > *) Change: now nginx issues a warning if protocol parameters
> > > of a listening socket are redefined.
> >
> > [...]
> >
> > > What do these warning messages mean? Should I be worried?
> >
> > From the provided configuration snippet it's unclear is the same
> > ip:port pairs for two server blocks. In case those are - all
> > servers are listening on the same ip:port should have the same
> > parameters. To avoid such a warning update parameters for the
> > listen directive in the second server block.
>
> OK. The IPs and ports are the same. However, if I continue to use
> exactly this configuration, are there any possible technical issues (I
> don't think so, because it is a "warning".) with this environment?
> Sorry, but I think I wasn't clear enough with my question.

I think the point is: your config makes it look like you want one
server to use ssl-and-http2, and you want the other server to use
ssl-without-http2.

That is not how it works; and that is never how it worked.

So a naïve reading of your config might lead the reader to be unclear
about what exactly each server is actually using.

This new warning is telling you "your config might be misleading".

It is still doing exactly what it always was doing (and: I guess it will
continue to do that in future updates; but nothing is guaranteed). It is
additionally letting you know of this possibly-unintentional config, so
you can choose to leave it as-is (and get the warnings on startup) or
you can choose to make it explicit that you know what settings apply to
(this ip:port in) each server.

Cheers,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX 1.23.4 warning message

Fabiano Furtado Pessoa Coelho June 28, 2023 04:22PM

Re: NGINX 1.23.4 warning message

Sergey A. Osokin June 28, 2023 09:04PM

Re: NGINX 1.23.4 warning message

Fabiano Furtado Pessoa Coelho June 29, 2023 10:02AM

Re: NGINX 1.23.4 warning message

Francis Daly June 29, 2023 10:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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