mirror of
https://github.com/YunoHost-Apps/pepettes_ynh.git
synced 2024-09-03 19:56:35 +02:00
Update gunicorn.py
This commit is contained in:
parent
44f221ef7f
commit
7102285b60
1 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
command = '__PYTHON_PATH__/gunicorn'
|
||||
pythonpath = '__FINALPATH__'
|
||||
workers = 4
|
||||
user = '__NAME__'
|
||||
user = '__APP__'
|
||||
bind = 'unix:__FINALPATH__/sock'
|
||||
pid = '/run/gunicorn/__NAME__-pid'
|
||||
errorlog = '/var/log/__NAME__/error.log'
|
||||
accesslog = '/var/log/__NAME__/access.log'
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue