kopia lustrzana https://github.com/OpenDroneMap/WebODM
Increased gunicorn/nginx timeout
rodzic
45d564a26b
commit
acd14e9b5b
|
@ -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;
|
||||
|
|
2
start.sh
2
start.sh
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue