aboutsummaryrefslogtreecommitdiff
path: root/uwsgi.ini
diff options
context:
space:
mode:
authorMax Christian Pohle2019-11-13 00:23:06 +0100
committerMax Christian Pohle2019-11-13 00:27:47 +0100
commit1dcb4c6cc058800d8995bd3489ce840ff07055ec (patch)
treed16c02338c38d5bd06158fbcc021e52986b8b837 /uwsgi.ini
parent151c39e6aa8e9ec9d9cbe31bcca81ada71d9c72b (diff)
downloadpdnsupdate-1dcb4c6cc058800d8995bd3489ce840ff07055ec.tar.bz2
pdnsupdate-1dcb4c6cc058800d8995bd3489ce840ff07055ec.zip
Replacing the old php with a python script
python was already installed in my dns jail, so this has very little overhead compared to a full php installation.
Diffstat (limited to 'uwsgi.ini')
-rw-r--r--uwsgi.ini28
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]
2master = true
3socket = /var/run/%c.sock
4reuse-port = true
5master = true
6reload-os-env = true
7vaccuum = true
8logto = /usr/local/www/%c/uwsgi.log
9manage-script-name = true
10chdir = /usr/local/www/%c
11touch-reload = /usr/local/www/%c
12wsgi-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
16unenv = DJANGO_SETTINGS_MODULE
17unenv = DJANGO_SETTINGS
18wsgi-env-behaviour = cheat
19print = we are using %c
20http = 10.0.1.99:8080
21
22
23
24# set cheaper algorithm to use, if not set default will be used
25cheaper-algo = backlog
26cheaper-overload = 4
27cheaper-idle = 1
28cheaper-initial = 0
..