nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead

vpscanban

Verified User
Joined
Feb 9, 2022
Messages
39
I am using DirectAdmin v.1.657 running nginx_apache webserver. But when adding a domain name, I get the following error. With the announcement http2. I don't know anyone who has met me and asked for help.

oot@like custombuild]# nginx -t
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/nginx-vhosts.conf:40
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/nginx-vhosts.conf:41
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /usr/local/directadmin/data/users/like/nginx.conf:625
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /usr/local/directadmin/data/users/like/nginx.conf:663
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /usr/local/directadmin/data/users/like/nginx.conf:701
 

Attachments

  • CleanShot 2023-12-17 at 21.32.19.png
    CleanShot 2023-12-17 at 21.32.19.png
    32.8 KB · Views: 864
  • CleanShot 2023-12-17 at 21.32.48.png
    CleanShot 2023-12-17 at 21.32.48.png
    36.4 KB · Views: 79
it just warn, and http2 still working in this ways. "1.658" will fixed this soon.
 
Back
Top