Skip to content

Commit

Permalink
Update uwsgi.ini (#555)
Browse files Browse the repository at this point in the history
* 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 <maxking@users.noreply.github.com>
  • Loading branch information
bbcchmc and maxking authored Oct 28, 2022
1 parent ba9076a commit 1950708
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/mailman-web/uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1950708

Please sign in to comment.