NGINX 1.23.4 warning message

Fabiano Furtado Pessoa Coelho fusca14 at gmail.com
Wed Jun 28 20:19:55 UTC 2023


Hi...

Recently, I've upgrade my NGINX version 1.22.x to 1.24.0 and I notice
in nginx.org/en/CHANGES-1.24 about a new change in version 1.23.4:

"Changes with nginx 1.23.4                            28 Mar 2023
...
    *) Change: now nginx issues a warning if protocol parameters
               of a listening socket are redefined.
..."

I have the following configuration, using distinct "server" blocks

server { listen <IP>:<PORT> ssl http2; ...}
server { listen <IP>:<PORT> ssl; ...} # listen definition without "http2"

... and the following warning messages (it appears in "error.log" file too):

# nginx -t:
nginx: [warn] protocol options redefined for <IP>:<PORT> in
/etc/nginx/conf.d/servers.conf:"x"
nginx: [warn] protocol options redefined for <IP>:<PORT> in
/etc/nginx/conf.d/servers.conf:"y"

What do these warning messages mean? Should I be worried?

Thanks in advance.
Fabiano Furtado


More information about the nginx mailing list