Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anvme opened this issue Oct 19, 2023 · 0 comments
Open

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

anvme opened this issue Oct 19, 2023 · 0 comments

Comments

@anvme
Copy link

anvme commented Oct 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant