Files
django_lottopy/lottopy_site/gunicorn.conf.py
T
admin e20ed93603 Rebuild venv for python 3.12 (alpine 3.20), gunicorn 25, quieter logs, ignore rotated logs
Whole-site snapshot so the repo works as a restorable backup of the server code and its virtualenv.
2026-10-10 15:16:53 -04:00

14 lines
429 B
Python
Executable File

# Non logging stuff
bind = "unix:/home/williedynamite/django_lottopy/run/gunicorn.sock"
workers = 5
threads = 1
# Access log - records incoming HTTP requests
accesslog = "./gunicorn.access.log"
# Error log - records Gunicorn server goings-on
errorlog = "./gunicorn.error.log"
# Whether to send Django output to the error log
capture_output = True
# How verbose the Gunicorn error logs should be
loglevel = "info"
timeout = 300