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
|