summaryrefslogtreecommitdiff
path: root/gitserver.conf
diff options
context:
space:
mode:
Diffstat (limited to 'gitserver.conf')
-rw-r--r--gitserver.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/gitserver.conf b/gitserver.conf
index 0ed4850..c230ed3 100644
--- a/gitserver.conf
+++ b/gitserver.conf
@@ -31,6 +31,14 @@ ScriptAliasMatch \
AuthUserFile /data/.htpasswd
Require valid-user
</LocationMatch>
+# private repositories
+<LocationMatch "^/private/.*$">
+ Order Deny,Allow
+ AuthType Basic
+ AuthName "Git Access"
+ AuthUserFile /data/.htpasswd
+ Require valid-user
+</LocationMatch>
########################################################################
# cgit