Nginx receive http2 directive is deprecated warning.
Issue
- Nginx 'Listen … http2 directive is deprecated' Warnings received on restart.
[warn] 1#1: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:4- The old format found in the nginx.conf and which is depreciated.
nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:4
[warn] 1#1: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/nginx.conf:37
Environment
- Red Hat OpenShift Containe Platform
- 4.18
- NGINX
- 1.25.1+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.