1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mygpo_ynh.git synced 2024-09-03 19:55:52 +02:00
mygpo_ynh/sources/patches/app-00-gunicorn.conf.py.patch
Jules Bertholet 8284155ea3
Update to 2021-10-20 (#13)
* Update to 1627ed9d3dddb2a6d0fb85b598d7736f19a06b47

* Update to 2021-06-16

* Update to 2021-09-13

* Update to version 2021-10-11

* use `makemigrations --merge` on migrate

* Update 20 version 2021-10-20

* Apply example_ynh

* Auto-update README

* Fix upgrade

* fix datadir

Co-authored-by: Jules Bertholet <jules.bertholet@quoi.xyz>
Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: Yunohost-Bot <>
2022-02-02 15:42:33 -05:00

25 lines
739 B
Diff

diff --git a/conf/gunicorn.conf.py b/conf/gunicorn.conf.py
index 726cd5f4..c13809cc 100644
--- a/conf/gunicorn.conf.py
+++ b/conf/gunicorn.conf.py
@@ -1,16 +1,16 @@
import multiprocessing
import os
-bind = "unix:/tmp/mygpo.sock"
+#bind = "unix:/tmp/mygpo.sock"
#workers = multiprocessing.cpu_count()
workers = 3
# The maximum number of requests a worker will process before restarting.
# max_requests = 1000
-errorlog = "/var/log/gunicorn/error.log"
-accesslog = "/var/log/gunicorn/access.log"
-loglevel = "info"
+#errorlog = "/var/log/gunicorn/error.log"
+#accesslog = "/var/log/gunicorn/access.log"
+#loglevel = "info"
access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s %(T)s "%(f)s" "%(a)s"'
timeout = 120