Redirect 'smart' http checkout to canonical
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
4a8fc6080e
commit
5c18fc378d
1 changed files with 2 additions and 10 deletions
|
@ -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/ /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue