diff options
Diffstat (limited to 'uwsgi.ini')
-rw-r--r-- | uwsgi.ini | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/uwsgi.ini b/uwsgi.ini new file mode 100644 index 0000000..4782770 --- /dev/null +++ b/uwsgi.ini | |||
@@ -0,0 +1,28 @@ | |||
1 | [uwsgi] | ||
2 | master = true | ||
3 | socket = /var/run/%c.sock | ||
4 | reuse-port = true | ||
5 | master = true | ||
6 | reload-os-env = true | ||
7 | vaccuum = true | ||
8 | logto = /usr/local/www/%c/uwsgi.log | ||
9 | manage-script-name = true | ||
10 | chdir = /usr/local/www/%c | ||
11 | touch-reload = /usr/local/www/%c | ||
12 | wsgi-file = wsgi.py | ||
13 | # mount = /%c=%c/wsgi.py | ||
14 | # static-map = /static=/usr/local/www/%c/static | ||
15 | # static-map = /media=/usr/local/www/%c/media | ||
16 | unenv = DJANGO_SETTINGS_MODULE | ||
17 | unenv = DJANGO_SETTINGS | ||
18 | wsgi-env-behaviour = cheat | ||
19 | print = we are using %c | ||
20 | http = 10.0.1.99:8080 | ||
21 | |||
22 | |||
23 | |||
24 | # set cheaper algorithm to use, if not set default will be used | ||
25 | cheaper-algo = backlog | ||
26 | cheaper-overload = 4 | ||
27 | cheaper-idle = 1 | ||
28 | cheaper-initial = 0 | ||