our application return huge json data ,but if the response size is getter than 850 mb approx we are getting Http 500 error.I did tried to find the solution , here are some link which I have look at.
https://serverfault.com/questions/514927/file-uploads-and-client-max-body-size-in-nginx-gunicorn-django nginx - client_max_body_size has no effect ngnix + gunicorn throws truncated response body
setting client_max_body_size to some value seems to be possible solution for this.
But I am not able to figure it out how to write this in startup command
My startup command is
gunicorn --bind=0.0.0.0 --workers=4 --timeout=3000 app:app
My application is in Flask hosted in Azure web app service