aboutsummaryrefslogtreecommitdiff
path: root/docker/git-server/git-auth.conf
diff options
context:
space:
mode:
Diffstat (limited to 'docker/git-server/git-auth.conf')
-rw-r--r--docker/git-server/git-auth.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/git-server/git-auth.conf b/docker/git-server/git-auth.conf
new file mode 100644
index 0000000..2908bec
--- /dev/null
+++ b/docker/git-server/git-auth.conf
@@ -0,0 +1,3 @@
+auth.backend = "htpasswd"
+auth.backend.htpasswd.userfile = "/app/user-info"
+auth.require = ( "" => ("method" => "basic", "realm" => "Git Access", "require" => "valid-user") )