Open ktzsolt opened 4 days ago
This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
@ktzsolt which version of upstream NGINX introduced support for HTTP2 ?
@ktzsolt which version of upstream NGINX introduced support for HTTP2 ?
https://nginx.org/en/docs/http/ngx_http_v2_module.html
The ngx_http_v2_module module (1.9.5) provides support fo HTTP/2.
1.9.5 was released in 2015 https://blog.nginx.org/blog/nginx-1-9-5
What happened:
Trying to figure out what the default value is for use-http2 ConfigMap setting is, documentation just says
Enables or disables support in secure connections.
https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#use-http2When clicking on the nginx doc link for http2 I see that default value is off: https://nginx.org/en/docs/http/ngx_http_v2_module.html
When not setting use-http2 in the ingress-nginx-controller ConfigMap I see that http2 support is actuall turned on. Checking my ingress endpoints with
curl -vvv
I see in the logs:I can force http1.1 with
curl -vvv --http1.1
and then I get http1.1 responses.Checking one of the ingress-nginx pods nginx.conf file I see:
When I set
use-http2: "true"
in the ingress-nginx-controller ConfigMap the same happens. When I setuse-http2: "false"
in the ingress-nginx-controller ConfigMap then I can not get http2 responses and I don't see http2 on in nginx.conf file.What you expected to happen:
having the same default value for http2 as the base nginx software has or document the default value on https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#use-http2
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
nginx/1.25.5
/kind documentation /remove-kind bug