90 seconds timeout

This commit is contained in:
j 2010-12-23 18:00:10 +05:30
commit ccddcae5e5
2 changed files with 6 additions and 3 deletions

View file

@ -26,7 +26,8 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_read_timeout 90; #should be in sync with gunicorn timeout
proxy_connect_timeout 90; #should be in sync with gunicorn timeout
if (!-f $request_filename) {
proxy_pass http://127.0.0.1:2620;
break;