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
Alexandre Aubin affabb064a Zelrmvlf
2023-12-16 17:58:53 +01:00

11 lines
420 B
Python

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