1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coin_ynh.git synced 2024-09-03 18:16:26 +02:00
coin_ynh/conf/gunicorn_config.py
2019-08-23 16:08:03 +02:00

11 lines
550 B
Python

command = '/opt/__YNH_APP_INSTANCE_NAME__/venv/bin/gunicorn'
pythonpath = '/opt/__YNH_APP_INSTANCE_NAME__'
workers = 4
user = '__YNH_APP_INSTANCE_NAME__'
bind = 'unix:/opt/__YNH_APP_INSTANCE_NAME__/sock'
pid = '/run/gunicorn/__YNH_APP_INSTANCE_NAME__-pid'
errorlog = '/var/log/__YNH_APP_INSTANCE_NAME__/error.log'
accesslog = '/var/log/__YNH_APP_INSTANCE_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