Nginx some times does not serve whole response but only first chunk. We don't see this kind of behaviour all the times. Below our configuration.
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
location "/" {
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
send_timeout 300;
}
When i directly invoke target endpoint, its working fine.