Skip to content

Commit 397d7dc

Browse files
committed
fix: add uwsgi tweaks for closed connection
1 parent 3a734e2 commit 397d7dc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

drydock/patches/uwsgi-config

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Fix 502 errors for closed connections
2+
http-keepalive = 1
3+
add-header = Connection: Keep-Alive
4+
5+
# Better startup/shutdown in docker:
6+
die-on-term = true
7+
lazy-apps = false
8+
need-app = true
9+
no-defer-accept = true
10+
11+
# Other settings
12+
master = true
13+
py-call-osafterfork = true
14+
vacuum = true

0 commit comments

Comments
 (0)