Upstream time out

Roger Gue lists at ruby-forum.com
Thu Nov 3 15:29:45 UTC 2011


I am using NGINX 1.0.4 on Redhat Linux 5 and I am having the error
message: 504 Gateway Time out NGINX 1.0.4

HERE IS THE DETAIL OF MY ERROR.LOG FILE;

2011/11/03 09:05:11 [error] 22348#0: *898 upstream timed out (110
Connection timed out) while reading response header from upstream,
client:172.16.19.180, server: mcb-http-t.jlg.com, request: "POST
/ole/findshipto.jsp HTTP/1.1", upstream:
"http://172.21.68:80/ole/findshipto.jsp", host: "mcb-htp-t.jlg.com",
referrer: :https://mcb-http-t.jlg.com/ole/findshipto.jsp"

Please some one help me as I am new to NGINX:

HERE IS MY PROXY CONFIGURATION FILE:

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body-size 50m;
client_body_buffer_size 256k;
proxy_connect_timeout   300;
proxy_send_timeout      300;
proxy_read_timeout      300;
proxy_buffers           32 4k;
client_body_timeout     300;
proxy_ignore_client_abort on;

I WILL APPRECIATE YOUR HELP IN SOLVING THIS PROBLEM. THANKS IN ADVANCE

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list