-
Notifications
You must be signed in to change notification settings - Fork 13
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+ Listen … http2” directive is deprecated #73
Comments
Hello, Thanks for the heads up! Nginx version 1.25.1 isn't available upstream yet. We will consider supporting it in the future though! |
Thanks for this quick response ! 👍 EDIT : It would kill two birds with one stone to add this support. 😉 |
So did Nginx 1.25.1 introduce this change? |
Yes, |
I confirm, and even active with the new HTTP/2 activation method:
|
What I was wondering is which version added support for the |
This is from version 1.25.1 (paragraph: Deprecation of listen … http2 directive): https://www.f5.com/company/blog/nginx/nginx-plus-r30-released#Important-Changes-in-Behavior- |
Hello, just heads up, it's giving warning already in NGINX 1.24, this version is available in Rocky Linux 9 (via stream modules). https://serverfault.com/a/1131319/583113 One of solution is add |
@jcameron it's fairly new https://hg.nginx.org/nginx/rev/08ef02ad5c54 maybe need to detect nginx version? |
Yes, we'd need to add a check for the Nginx version. I'm a little reluctant to implement this because it would make migration of Nginx configs between systems difficult.. |
Just updated a server which upgraded nginx to 1.25.1
Warnings received on restart.
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead
This will not break anything immediately, but just as a heads-up the old format is
And the new format for nginx >= 1.25.1 is
The text was updated successfully, but these errors were encountered: