ansible/roles/kerneltest/templates/kerneltest.conf
Kevin Fenzi e5f74d8566 kerneltest: fix conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:11 +02:00

23 lines
636 B
Text

Alias /kerneltest/static /usr/lib/python2.7/site-packages/kerneltest/static/
WSGIDaemonProcess kerneltest user=apache maximum-requests=1000 display-name=kerneltest processes={{wsgi_procs}} threads={{wsgi_threads}}
WSGISocketPrefix run/wsgi
WSGIRestrictStdout On
WSGIRestrictSignal Off
WSGIPythonOptimize 1
WSGIScriptAlias /kerneltest /var/www/kerneltest.wsgi
<Location />
WSGIProcessGroup kerneltest
<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>