1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
options:
wsgi_wsgi_file:
type: string
default: "wsgi"
description: "The name of the WSGI application."
wsgi_workers:
type: int
default: 0
description: "The number of worker process for handling requests. 0 for count(cpu) + 1"
wsgi_worker_class:
type: string
default: "sync"
description: "Gunicorn workers type. Can be: sync, eventlet, gevent, tornado"
wsgi_worker_connections:
type: int
default: 1000
description: "The maximum number of simultaneous clients."
wsgi_max_requests:
type: int
default: 0
description: "The maximum number of requests a worker will process before restarting."
wsgi_backlog:
type: int
default: 2048
description: "The maximum number of pending connections."
wsgi_timeout:
type: int
default: 30
description: "Timeout of a request in seconds."
wsgi_keep_alive:
type: int
default: 2
description: "Keep alive time in seconds."
wsgi_umask:
type: string
default: "0"
description: "A bit mask for the file mode on files written by Gunicorn. The number 0 means Python guesses the base. Note that this affects unix socket permissions."
wsgi_user:
type: string
default: "www-data"
description: "Switch worker processes to run as this user. User id (as an int) or the name."
wsgi_group:
type: string
default: "www-data"
description: "Switch worker process to run as this group. A valid group id (as an int) or the name."
wsgi_log_file:
type: string
default: "-"
description: "The log file to write to. If empty the logs would be handle by upstart."
wsgi_log_level:
type: string
default: "info"
description: "The granularity of Error log outputs."
wsgi_access_logfile:
type: string
default: ""
description: "The Access log file to write to."
wsgi_access_logformat:
type: string
default: ""
description: "The Access log format. Don't forget to escape all quotes and round brackets."
wsgi_extra:
type: string
default: ""
description: "Space separated extra settings. For example: --debug"
wsgi_timestamp:
type: string
default: ""
description: "The variable to modify to trigger Gunicorn reload."
python_path:
type: string
default: ""
description: "Set an additionnal PYTHONPATH to the project."
listen_ip:
type: string
default: "0.0.0.0"
description: "IP adresses that Gunicorn will listen on. By default we listen on all of them."
port:
type: int
default: 8080
description: "Port the application will be listenning."
|