From 19507087ad112534952074c33bc724ef09a3687b Mon Sep 17 00:00:00 2001 From: bbcchmc <111456727+bbcchmc@users.noreply.github.com> Date: Fri, 28 Oct 2022 07:35:16 -0400 Subject: [PATCH] Update uwsgi.ini (#555) * Update uwsgi.ini Updated uwsgi from the default to the max setting 65535, this resolves an issue with large http headers that can cause 502 gateway errors when accessing mailman web interface. * Reduce the size from max to what apache2 supports. Co-authored-by: Abhilash Raj --- web/mailman-web/uwsgi.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/mailman-web/uwsgi.ini b/web/mailman-web/uwsgi.ini index 5856f4c..8e917a3 100644 --- a/web/mailman-web/uwsgi.ini +++ b/web/mailman-web/uwsgi.ini @@ -6,6 +6,9 @@ http-socket = 0.0.0.0:8000 #Enable threading for python enable-threads = true +# Setting uwsgi buffer size to what Apache2 supports. +buffer-size = 8190 + # Move to the directory wher the django files are. chdir = /opt/mailman-web