Serve pagure from / rather than /pagure

This commit is contained in:
Pierre-Yves Chibon 2017-08-03 16:23:06 +02:00
parent e245766681
commit bc65396747

View file

@ -6,7 +6,7 @@ WSGIPassAuthorization On
WSGIDaemonProcess pagureproc user=pagure group=packager maximum-requests=1000 display-name=pagure processes={{ wsgi_procs }} threads={{ wsgi_threads }} inactivity-timeout=300
WSGIScriptAlias /pagure /var/www/pagure.wsgi
WSGIScriptAlias / /var/www/pagure.wsgi
# SSLEngine on
# SSLProtocol all -SSLv2 -SSLv3
@ -17,7 +17,7 @@ WSGIDaemonProcess pagureproc user=pagure group=packager maximum-requests=1000 di
# SSLCertificateChainFile /etc/pki/tls/certs/pagure.io.intermediate.cert
# SSLCertificateKeyFile /etc/pki/tls/certs/pagure.io.key
Alias /pagure/static /usr/lib/python2.7/site-packages/pagure/static/
Alias /static /usr/lib/python2.7/site-packages/pagure/static/
SetEnv GIT_PROJECT_ROOT /srv/git/repositories
@ -30,7 +30,7 @@ WSGIDaemonProcess pagureproc user=pagure group=packager maximum-requests=1000 di
git-(upload|receive)-pack))$" \
/usr/libexec/git-core/git-http-backend/$1
<Location /pagure>
<Location />
WSGIProcessGroup pagureproc
<IfModule mod_authz_core.c>
# Apache 2.4