1
0
James Ketrenos d3f91889af Adding mailman
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2024-05-14 15:19:10 -07:00

26 lines
614 B
INI

[uwsgi]
# Port on which uwsgi will be listening.
uwsgi-socket = 0.0.0.0:8080
http-socket = 0.0.0.0:8000
# Move to the directory where the django files are.
chdir = /opt/mailman-web
# Use the wsgi file provided with the django project.
wsgi-file = wsgi.py
# Setup default number of processes and threads per process.
master = true
processes = 2
threads = 2
# Drop privileges and don't run as root.
uid = mailman
gid = mailman
# Setup the request log.
req-logger = file:/opt/mailman-web-data/logs/uwsgi.log
# Last log and it logs the rest of the stuff.
logger = file:/opt/mailman-web-data/logs/uwsgi-error.log