use-http2 default value discrepancies in docs #12291
Labels
kind/documentation
Categorizes issue or PR as related to documentation.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
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 set
use-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
The text was updated successfully, but these errors were encountered: