2022/02/11 09:46:49 [info] 29#0: *1298546 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too (104: Connection reset by peer) while sending request to upstream,
We are getting this error with 499 status code after 5 mins. Nginx is unable to process request more than 5 mins.
Nginx is running in K8S.
Please help me how to fix it?
Config:
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_redirect off;
proxy_connect_timeout 5;
proxy_send_timeout 90;
proxy_read_timeout 600;
proxy_buffers 32 4k;
proxy_buffer_size 8k;
proxy_request_buffering on;
proxy_http_version 1.1;
Edited 1 time(s). Last edit at 02/11/2022 10:21AM by rgurijala.