digitalocean / nginxconfig.io

⚙️ NGINX config generator on steroids 💉
https://do.co/nginxconfig
MIT License
27.42k stars 2.01k forks source link

Nginx 1.25.1+ [warn] the "listen ... http2" directive is deprecated #451

Open anvme opened 9 months ago

anvme commented 9 months ago

Information

Details

Description

Nginx 1.25.1+ was released, and it has now deprecated the http2 parameter in Nginx listen directive in favour of using an http2 directive standalone with on/off values.

Steps to reproduce

nginx -t ... server { listen 443 ssl http2; ...

Expected behavior

server { listen 443 ssl; http2 on;

Screenshots