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

Fix deprecated setting in nginx configuration #22

Open
beathorst opened this issue Dec 16, 2024 · 0 comments
Open

Fix deprecated setting in nginx configuration #22

beathorst opened this issue Dec 16, 2024 · 0 comments

Comments

@beathorst
Copy link

After updating nginx we get deprecation warnings.

nginx -t
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in etc/nginx/nginx.conf :15
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

It is described here
https://www.nginx.com/blog/nginx-plus-r30-released/

Change this:

listen 443 ssl http2;
To this:

listen 443 ssl;
http2 on;

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

No branches or pull requests

1 participant