mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-25 02:50:15 +08:00
Serve pagure from / rather than /pagure
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user