I am running django on gunicorn + nginx. I have a problem downloading files. Actually the downloaded files work fine, but the vacation time is what causes this in nginx:
2011/07/25 12:13:47 [error] 15169#0: *2317 upstream timed out (110: Connection timed out) while reading response header from upstream, client: IP-ADDRESS, server: SERVER, request: "GET /photos/events/event/25 HTTP/1.1", upstream: "http://127.0.0.1:29000/photos/events/event/25", host: "HOST", referrer: "REFERER_ADDRESS"
If I refresh the page, I see that all the photos are uploaded just fine. The problem is that it causes a timeout, giving the impression that the download is not working.
here is my gunicorn conf:
bind = "127.0.0.1:29000" logfile = "/path/to/logs/gunicorn.log" workers = 3
I tried to change the timeout, but it did not work.
django nginx gunicorn
user250145 Jul 25 '11 at 12:36 2011-07-25 12:36
source share