summaryrefslogtreecommitdiff
path: root/etc/lighttpd/git-auth.conf
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-01-30 11:23:40 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-02-12 17:50:28 +0000
commit246e2405b8d76c46b8a49de6fd1311c936e6b852 (patch)
tree09fc7966dc915170356763b52bb537109c58cf0d /etc/lighttpd/git-auth.conf
parenta9a7ea2a7ecba39ff663ce79d377e4d5abdb1687 (diff)
downloadtrove-setup-246e2405b8d76c46b8a49de6fd1311c936e6b852.tar.gz
Reconfigure lighttpd
We now run two separate httpds, one for morph-cache-server and one for git-httpd. We do this because we want to run morph-cache-server as the cache user and git-httpd as the git user
Diffstat (limited to 'etc/lighttpd/git-auth.conf')
-rw-r--r--etc/lighttpd/git-auth.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/lighttpd/git-auth.conf b/etc/lighttpd/git-auth.conf
new file mode 100644
index 0000000..9b7a010
--- /dev/null
+++ b/etc/lighttpd/git-auth.conf
@@ -0,0 +1,10 @@
+auth.require = (
+ "/" => (
+ "method" => "basic",
+ "realm" => "Git Access",
+ "require" => "valid-user"
+ )
+)
+
+auth.backend = "htpasswd"
+auth.backend.htpasswd.userfile = "/home/git/htpasswd"