Fix path to static files and renamed wsgi daemon

This commit is contained in:
Pierre-Yves Chibon 2016-07-20 21:57:19 +02:00
parent fa56cc7cd4
commit d3f0a69d12

View file

@ -3,7 +3,7 @@ WSGISocketPrefix run/wsgi
WSGIRestrictSignal Off
WSGIPythonOptimize 1
WSGIPassAuthorization On
WSGIDaemonProcess pagure user=pagure group=packager maximum-requests=1000 display-name=pagure processes=4 threads=4 inactivity-timeout=300
WSGIDaemonProcess pagureproc user=pagure group=packager maximum-requests=1000 display-name=pagure processes=4 threads=4 inactivity-timeout=300
WSGIScriptAlias /pagure /var/www/pagure.wsgi
@ -17,7 +17,7 @@ WSGIDaemonProcess pagure user=pagure group=packager maximum-requests=1000 displa
# SSLCertificateChainFile /etc/pki/tls/certs/pagure.io.intermediate.cert
# SSLCertificateKeyFile /etc/pki/tls/certs/pagure.io.key
Alias /static /usr/lib/python2.7/site-packages/pagure/static/
Alias /pagure/static /usr/lib/python2.7/site-packages/pagure/static/
SetEnv GIT_PROJECT_ROOT /srv/git/repositories
@ -31,7 +31,7 @@ WSGIDaemonProcess pagure user=pagure group=packager maximum-requests=1000 displa
/usr/libexec/git-core/git-http-backend/$1
<Location /pagure/>
WSGIProcessGroup pagure
WSGIProcessGroup pagureproc
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted