From bc65396747d4b54406ed5b1ef8e2ead4e69e63f7 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 3 Aug 2017 16:23:06 +0200 Subject: [PATCH] Serve pagure from / rather than /pagure --- roles/distgit/pagure/templates/z_pagure.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/distgit/pagure/templates/z_pagure.conf b/roles/distgit/pagure/templates/z_pagure.conf index c2452d06eb..4ccdf28b8e 100644 --- a/roles/distgit/pagure/templates/z_pagure.conf +++ b/roles/distgit/pagure/templates/z_pagure.conf @@ -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 - + WSGIProcessGroup pagureproc # Apache 2.4