1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pepettes_ynh.git synced 2024-09-03 19:56:35 +02:00
pepettes_ynh/conf/gunicorn.py
2021-02-19 02:06:17 +01:00

11 lines
420 B
Python

command = '__FINALPATH__/venv/bin/gunicorn'
pythonpath = '__FINALPATH__'
workers = 4
user = '__NAME__'
bind = 'unix:__FINALPATH__/sock'
pid = '/run/gunicorn/__NAME__-pid'
errorlog = '/var/log/__NAME__/error.log'
accesslog = '/var/log/__NAME__/access.log'
access_log_format = '%({X-Real-IP}i)s %({X-Forwarded-For}i)s %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'
loglevel = 'warning'
capture_output = True