Increased gunicorn/nginx timeout

pull/203/head
Piero Toffanin 2017-06-07 15:27:02 -04:00
rodzic 45d564a26b
commit acd14e9b5b
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -36,6 +36,9 @@ http {
keepalive_timeout 5;
proxy_connect_timeout 360s;
proxy_read_timeout 360s;
# path for static files
location /static {
root /webodm/build;

Wyświetl plik

@ -83,7 +83,7 @@ else
echo -e "\033[91mWARN:\033[39m /webodm/build/static does not exist, CSS, JS and other files might not be available."
fi
nginx -c $(pwd)/nginx/nginx.conf
gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --preload
gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 360 --preload
fi
# If this is executed, it means the previous command failed, don't display the congratulations message