Skip to content

Commit 58e2577

Browse files
committed
fix:不指定文件位置避免权限问题
1 parent 3206ff2 commit 58e2577

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

gunicorn.conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
import multiprocessing
66

77
bind = "0.0.0.0:5000"
8-
pidfile = "/tmp/gunicorn.pid"
9-
accesslog = "/var/log/gunicorn.log"
10-
workers = multiprocessing.cpu_count() * 2 + 1
118
worker_class = 'gevent'
129
daemon = False
10+
workers = multiprocessing.cpu_count() * 2 + 1
1311
debug = False
12+
# pidfile = "/var/run/gunicorn.pid"
13+
# accesslog = "/var/log/gunicorn.log"

0 commit comments

Comments
 (0)