NDOJ/uwsgi.ini
2023-11-02 05:12:56 -04:00

26 lines
466 B
INI

[uwsgi]
# Socket and pid file location/permission.
socket = :8000
pidfile = /tmp/dmoj-site.pid
chmod-pidfile = 666
# Paths.
chdir = .
# Details regarding DMOJ application.
protocol = uwsgi
master = true
plugins = python
env = DJANGO_SETTINGS_MODULE=dmoj.settings
module = dmoj.wsgi:application
optimize = 2
# Logging
disable-logging = true
log-4xx = true
log-5xx = true
# Scaling settings. Tune as you like.
memory-report = true
reload-on-rss = 512M
workers = 8