diff --git a/nginx/nginx-ssl.conf.template b/nginx/nginx-ssl.conf.template index 5349e53c..30083c71 100644 --- a/nginx/nginx-ssl.conf.template +++ b/nginx/nginx-ssl.conf.template @@ -46,8 +46,8 @@ http { keepalive_timeout 5; - proxy_connect_timeout 360s; - proxy_read_timeout 360s; + proxy_connect_timeout 300000s; + proxy_read_timeout 300000s; # path for static files location /static { diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index 45705bf5..77444576 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -35,8 +35,8 @@ http { keepalive_timeout 5; - proxy_connect_timeout 360s; - proxy_read_timeout 360s; + proxy_connect_timeout 300000s; + proxy_read_timeout 300000s; # path for static files location /static { diff --git a/start.sh b/start.sh index 867c3c9a..f924faf8 100755 --- a/start.sh +++ b/start.sh @@ -113,7 +113,7 @@ else congrats nginx -c $(pwd)/nginx/$conf - gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 360 --max-requests 250 --preload + gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 300000 --max-requests 250 --preload fi # If this is executed, it means the previous command failed, don't display the congratulations message