Add the bodhi2 mod_wsgi config

This commit is contained in:
Luke Macken 2015-06-07 18:26:50 +00:00
parent 54819d417b
commit aacabfb7f4

View file

@ -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
<Location />
WSGIProcessGroup bodhi
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order deny,allow
Allow from all
</IfModule>
</Location>