Skip to content

Commit e0add98

Browse files
committed
gwy: Tweaks to try to deal with 502 bad gateway errors when uploading many files.
1 parent 2bd2815 commit e0add98

4 files changed

Lines changed: 28 additions & 2 deletions

File tree

‎gateway/compose/production/django/start‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function main() {
3535
--bind 0.0.0.0:18000 \
3636
--timeout 605 \
3737
--graceful-timeout 605 \
38+
--keep-alive 65 \
3839
--chdir=/app -k uvicorn_worker.UvicornWorker || {
3940
echo_wait_and_quit "Gunicorn server failed."
4041
}

‎gateway/pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
"uvicorn>=0.32.0",
6363
"uvicorn-worker>=0.2.0",
6464
"whitenoise>=6.7.0",
65-
]
65+
"httptools>=0.9.0",
66+
]
6667

6768
[project.optional-dependencies]
6869
local = [

‎gateway/uv.lock‎

Lines changed: 24 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎network/traefik/conf.d/00-tls.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
[tls.options]
1010
[tls.options.default]
1111
minVersion = "VersionTLS12"
12+
sniStrict = true
1213

1314
[tls.stores]
1415
# Fallback when Let's Encrypt is unavailable (curl may need --insecure).

0 commit comments

Comments
 (0)