From 4ea1cc5f81b6c57ee7f2fa2e0ed9e6d3bfd81152 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Wed, 25 Aug 2021 17:12:51 +0000 Subject: [PATCH] git/server: Fix cloning repo over http --- roles/git/server/files/git.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/git/server/files/git.conf b/roles/git/server/files/git.conf index b49c294..21879e0 100644 --- a/roles/git/server/files/git.conf +++ b/roles/git/server/files/git.conf @@ -1,4 +1,8 @@ +# git clone http support +SetEnv GIT_PROJECT_ROOT /srv/git +SetEnv GIT_HTTP_EXPORT_ALL +# gitweb settings SetEnv GITWEB_PROJECTROOT /srv/git Alias /static/ /var/www/git/static/