Add the bodhi2 mod_wsgi config
This commit is contained in:
parent
54819d417b
commit
aacabfb7f4
1 changed files with 22 additions and 0 deletions
22
roles/bodhi2/base/files/bodhi-app.conf
Normal file
22
roles/bodhi2/base/files/bodhi-app.conf
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue