add timeout

This commit is contained in:
prance 2022-01-30 18:09:09 +01:00
parent 5c9b73492e
commit f8461d47a9
3 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,7 @@ server {
location /logout/ {
uwsgi_pass django;
uwsgi_read_timeout 300;
# include /etc/nginx/uwsgi_params;
}
@ -56,6 +57,7 @@ server {
if ($cookie_sessionid = ""){
# proxy_pass http://django; # TODO prolly change that to uwsgi_pass
uwsgi_pass django;
uwsgi_read_timeout 300;
# include /etc/nginx/uwsgi_params;
}

View File

@ -2,6 +2,7 @@
if ($cookie_sessionid = ""){
# proxy_pass http://django; # TODO prolly change that to uwsgi_pass
uwsgi_pass django;
uwsgi_read_timeout 300;
# include /etc/nginx/uwsgi_params;
}
}

View File

@ -47,6 +47,7 @@ server {
location /logout/ {
uwsgi_pass django;
uwsgi_read_timeout 300;
# include /etc/nginx/uwsgi_params;
}