Nginx2root : http2 is on by default in the standard container. What's the plan?

“nginx2root” ( NGINX2Root: New Remote Code Execution Vulnerabilities in nginx Require Urgent Patching - Xint Blog | Insights from Offensive Security Researchers ) lists five nginx CVEs, remote and unauthenticated. It says 1.31.9 fixes them, due Nov 19.

Two of the five need HTTP/2, which the Discourse standard container enables.

After a fresh rebuild, templates/web.ssl.template.yml:46 writes http2 on; into /etc/nginx/conf.d/outlets/server/20-https.conf, and nginx -v in the container says 1.26.3.

  1. Is a patched nginx in the base image planned, and when?
  2. Is there a supported way to turn HTTP/2 off from app.yml? (I’m using a run: hook that seds http2 on; to http2 off;.)
4 likes