We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b0bcaa commit ffc0efeCopy full SHA for ffc0efe
src/docker-entrypoint.d/00-render-templates.sh
@@ -17,6 +17,7 @@ function render_templates {
17
}
18
19
export WORKER_FILE_LIMIT=${WORKER_FILE_LIMIT:=$(( WORKER_CONNECTIONS * 2 ))}
20
+export WSGI_TIMEOUT=${WSGI_TIMEOUT:-${KEEPALIVE_TIMEOUT}}
21
22
render_templates "/etc/nginx/*.template" "/etc/nginx"
23
render_templates "/etc/nginx/conf.d/*.template" "/etc/nginx/conf.d"
src/etc/nginx/includes/uwsgi.conf.template
@@ -2,5 +2,5 @@ uwsgi_pass app;
2
uwsgi_param HTTP_X_REQUEST_ID $request_id;
3
uwsgi_param HTTP_HOST $host;
4
include uwsgi_params;
5
-uwsgi_read_timeout {{ .Env.KEEPALIVE_TIMEOUT }};
6
-uwsgi_send_timeout {{ .Env.KEEPALIVE_TIMEOUT }};
+uwsgi_read_timeout {{ .Env.WSGI_TIMEOUT }};
+uwsgi_send_timeout {{ .Env.WSGI_TIMEOUT }};
0 commit comments