diff options
Diffstat (limited to 'services/docker/git-server/git-auth.conf')
-rw-r--r-- | services/docker/git-server/git-auth.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/docker/git-server/git-auth.conf b/services/docker/git-server/git-auth.conf new file mode 100644 index 0000000..1acb316 --- /dev/null +++ b/services/docker/git-server/git-auth.conf @@ -0,0 +1,3 @@ +auth.backend = "htpasswd" +auth.backend.htpasswd.userfile = "/git/private/user-info" +auth.require = ( "" => ("method" => "basic", "realm" => "Git Access", "require" => "valid-user") ) |