add timeout
This commit is contained in:
parent
5c9b73492e
commit
f8461d47a9
@ -48,6 +48,7 @@ server {
|
|||||||
|
|
||||||
location /logout/ {
|
location /logout/ {
|
||||||
uwsgi_pass django;
|
uwsgi_pass django;
|
||||||
|
uwsgi_read_timeout 300;
|
||||||
# include /etc/nginx/uwsgi_params;
|
# include /etc/nginx/uwsgi_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -56,6 +57,7 @@ server {
|
|||||||
if ($cookie_sessionid = ""){
|
if ($cookie_sessionid = ""){
|
||||||
# proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
# proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
||||||
uwsgi_pass django;
|
uwsgi_pass django;
|
||||||
|
uwsgi_read_timeout 300;
|
||||||
# include /etc/nginx/uwsgi_params;
|
# include /etc/nginx/uwsgi_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
if ($cookie_sessionid = ""){
|
if ($cookie_sessionid = ""){
|
||||||
# proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
# proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
||||||
uwsgi_pass django;
|
uwsgi_pass django;
|
||||||
|
uwsgi_read_timeout 300;
|
||||||
# include /etc/nginx/uwsgi_params;
|
# include /etc/nginx/uwsgi_params;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,6 +47,7 @@ server {
|
|||||||
|
|
||||||
location /logout/ {
|
location /logout/ {
|
||||||
uwsgi_pass django;
|
uwsgi_pass django;
|
||||||
|
uwsgi_read_timeout 300;
|
||||||
# include /etc/nginx/uwsgi_params;
|
# include /etc/nginx/uwsgi_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user