24 lines
635 B
Plaintext
24 lines
635 B
Plaintext
|
|
PID_DIR = '/var/run/'
|
|
|
|
# Gunicorn configuration (http://gunicorn.org/configure.html)
|
|
#bind = '127.0.0.1:8000' # Default bind
|
|
#bind = 'unix:%s/mandaye.sock' % PID_DIR # Unix socket
|
|
|
|
#pidfile = '%s/mandaye.pid' % PID_DIR
|
|
timeout = 60
|
|
worker = 4
|
|
worker_class = 'sync'
|
|
#worker_connections = 1000 # The maximum number of simultaneous clients
|
|
#max_requests = 0 # The maximum number of requests a worker will process before restarting
|
|
|
|
# User / Group
|
|
#user = 'www-data'
|
|
#group = 'www-data'
|
|
|
|
# Log
|
|
loglevel = "info"
|
|
accesslog = '/var/log/mandaye/mandaye-access.log'
|
|
errorlog = "/var/log/mandaye/mandaye-gunicorn.log"
|
|
|