Closed
Description
The documentation for the x-forwarded-prefix
says:
To add the non-standard X-Forwarded-Prefix header to the upstream request with a string value, the following annotation can be used:
However, according to the code, x-forwarded-prefix
is parsed as a boolean value that expects a "true"
. It seems like the docs need updating.
# What is documented:
nginx.ingress.kubernetes.io/x-forwarded-prefix: "/path"
# The reality:
nginx.ingress.kubernetes.io/x-forwarded-prefix: "true"