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

12 lines
550 B
Python
Raw Normal View History

2019-08-23 16:08:03 +02:00
command = '/opt/__YNH_APP_INSTANCE_NAME__/venv/bin/gunicorn'
pythonpath = '/opt/__YNH_APP_INSTANCE_NAME__'
2017-04-09 11:05:39 +02:00
workers = 4
2019-08-23 16:08:03 +02:00
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'
2017-04-09 11:05:39 +02:00
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