Files
OSIT-Mailman3/postorius/mailman-web/uwsgi.ini
Abhilash Raj 423d9cbf03 Add libffi to all Postorius images. (#320)
* Add libffi to all Postorius images.

* Use Django less than a certain version.

* Fix the version constraint.

* Fix uwsgi configuration by using only processes.
2019-04-13 21:04:42 -07:00

25 lines
599 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 wher 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
process = 4
# Drop privielges 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