Redirect 'smart' http checkout to canonical

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-06-11 17:29:05 +02:00
parent 4a8fc6080e
commit 5c18fc378d

View file

@ -1,10 +1,2 @@
SetEnv GIT_PROJECT_ROOT /srv/git/repositories
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/
<Directory "/usr/libexec/git-core*">
Options ExecCGI Indexes
Order allow,deny
Allow from all
Require all granted
</Directory>
# We have fast cloning on /<repo>/, redirect there
Redirect /git/ /