Author Topic: the "listen ... http2" directive is deprecated  (Read 331 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
the "listen ... http2" directive is deprecated
« on: July 14, 2024, 07:54:50 PM »
Hi,

since nginx 1.25 i have the following warnings in the log: the "listen ... http2" directive is deprecated

i know i need to change the listen http2 and add a new directive with http2 on;

but my question is, as we are now on nginx 1.26 and it is still in the logs, is this something i need to do in my configs or is it something the CWP updates should fix for us?



thanks

Offline
*****

Offline
*****
Re: the "listen ... http2" directive is deprecated
« Reply #2 on: July 14, 2024, 11:57:20 PM »
Deprecated warnings are just a shot across the bow that in future versions you need to update your syntax -- PHP does this all the time. You should have a bit more time before the Nginx overlords require you to update your configs.