diff --git a/roles/distgit/files/git-smart-http.conf b/roles/distgit/files/git-smart-http.conf index 96ddf1075f..46a0ea84e8 100644 --- a/roles/distgit/files/git-smart-http.conf +++ b/roles/distgit/files/git-smart-http.conf @@ -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/ - - - Options ExecCGI Indexes - Order allow,deny - Allow from all - Require all granted - +# We have fast cloning on //, redirect there +Redirect /git/ /