diff --git a/drydock/patches/uwsgi-config b/drydock/patches/uwsgi-config new file mode 100644 index 00000000..673d0acb --- /dev/null +++ b/drydock/patches/uwsgi-config @@ -0,0 +1,14 @@ +# Fix 502 errors for closed connections +http-keepalive = 1 +add-header = Connection: Keep-Alive + +# Better startup/shutdown in docker: +die-on-term = true +lazy-apps = false +need-app = true +no-defer-accept = true + +# Other settings +master = true +py-call-osafterfork = true +vacuum = true