@rafas thank you so much! This helped me resolve issues with our Kubernetes deployment. This should be included in the official documentation.
IMPORTANT NOTE: The recent versions of the Kubernetes Nginx Ingress Controller updated their annotation schema, causing many of the recommended configurations you will find online to not work.
Make sure to use the new annotation format: nginx.ingress.kubernetes.io/proxy-buffering
has become nginx.org/proxy-buffering