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 + +