Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: Painkiller88 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
-
We only use Apache, but take a look at this about upgrading Nginx.
https://www.alphagnu.com/topic/55-how-to-install-latest-stablemainline-nginx-in-cwp-centos-89-stream-almalinux-89-rockylinux-89/#comment-84 (https://www.alphagnu.com/topic/55-how-to-install-latest-stablemainline-nginx-in-cwp-centos-89-stream-almalinux-89-rockylinux-89/#comment-84)
-
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.