Hello,
I got warning on log, what does these mean, is there critial issue, anyway to to fix please? Thanks
2024/08/05 12:06:04 [warn] 18719#18719: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/sites-enabled/22222:5
2024/08/05 12:06:04 [warn] 18719#18719: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/www/22222/conf/nginx/ssl.conf:1
2024/08/05 12:06:04 [warn] 18719#18719: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/www/22222/conf/nginx/ssl.conf:2
2024/08/05 12:06:04 [warn] 18719#18719: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/www/mysite.com/conf/nginx/ssl.conf:1
2024/08/05 12:06:04 [warn] 18719#18719: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/www/mysite.com/conf/nginx/ssl.conf:2
2024/08/05 12:06:04 [warn] 18730#18730: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/sites-enabled/22222:5
When run sudo nginx -t
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/sites-enabled/22222:5
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/www/22222/conf/nginx/ssl.conf:1
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/www/22222/conf/nginx/ssl.conf:2
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/www/mysite.com/conf/nginx/ssl.conf:1
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/www/misite.com/conf/nginx/ssl.conf:2
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
For /var/www/22222/conf/nginx/ssl.conf, it looks like this:
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/letsencrypt/live/mysite.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mysite.com/key.pem;
ssl_trusted_certificate /etc/letsencrypt/live/mysite.com/ca.pem;
ssl_stapling_verify on;

Anyway to resolve the issue in Wordops?