summaryrefslogtreecommitdiff
path: root/uwsgi/apps-available/local-rt4.ini
diff options
context:
space:
mode:
authorroot <root@localhost>2013-06-26 20:45:35 +0200
committerroot <root@localhost>2013-06-26 20:45:47 +0200
commitfa7b271bae2d1d3beb65cd6ddb9c0e8e20c54cbc (patch)
tree59e3b83913c0712532140f12caabff7b8778166b /uwsgi/apps-available/local-rt4.ini
parent1199fa5bf6fee2d97331c2223df56e1d94a6a625 (diff)
Add Apache and uWSGI example configs for Django and RT4 apps.
Diffstat (limited to 'uwsgi/apps-available/local-rt4.ini')
-rw-r--r--uwsgi/apps-available/local-rt4.ini16
1 files changed, 16 insertions, 0 deletions
diff --git a/uwsgi/apps-available/local-rt4.ini b/uwsgi/apps-available/local-rt4.ini
new file mode 100644
index 0000000..5d2460e
--- /dev/null
+++ b/uwsgi/apps-available/local-rt4.ini
@@ -0,0 +1,16 @@
+[uwsgi]
+single-interpreter = True
+plugins = 0:psgi
+
+workers = 2
+
+psgi = /usr/share/request-tracker4/libexec/rt-server
+static-map = /rt/NoAuth/images/=/usr/share/request-tracker4/html/NoAuth/images/
+
+#chdir = /usr/share/request-tracker4/html
+
+env = export RT_SITE_CONFIG=/etc/request-tracker4/RT_SiteConfig.pm
+
+# merge identical memory pages after every 10th request
+# more info at <http://uwsgi-docs.readthedocs.org/en/latest/KSM.html>
+ksm = 10