From aacabfb7f439448947c4c984041062ace2bbc5f7 Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Sun, 7 Jun 2015 18:26:50 +0000 Subject: [PATCH] Add the bodhi2 mod_wsgi config --- roles/bodhi2/base/files/bodhi-app.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 roles/bodhi2/base/files/bodhi-app.conf diff --git a/roles/bodhi2/base/files/bodhi-app.conf b/roles/bodhi2/base/files/bodhi-app.conf new file mode 100644 index 0000000000..754edb96bb --- /dev/null +++ b/roles/bodhi2/base/files/bodhi-app.conf @@ -0,0 +1,22 @@ +Alias /static /usr/lib/python2.7/site-packages/bodhi/static/ + +WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi processes=2 threads=2 +WSGISocketPrefix run/wsgi +WSGIRestrictStdout On +WSGIRestrictSignal Off +WSGIPythonOptimize 1 + +WSGIScriptAlias / /usr/share/bodhi/bodhi.wsgi/updates + + + WSGIProcessGroup bodhi + + # Apache 2.4 + Require all granted + + + # Apache 2.2 + Order deny,allow + Allow from all + +