summaryrefslogtreecommitdiffstats
path: root/container/lighttpd.conf
diff options
context:
space:
mode:
authordev <dev@example>2026-11-15 13:54:31 +0000
committerdev <dev@example>2026-11-15 13:54:31 +0000
commitda06d4f56afa72ae832238f91358b9aeaeaf0da5 (patch)
tree7ead0d915bf4e388dcc55d3b63b4fc0628ef895b /container/lighttpd.conf
parent85b7fa7f8456c84f65a0d81b760c430098ae7fd8 (diff)
downloadaccess-control-main.tar.gz
access-control-main.zip
Only build the access control executableHEADmain
The container image and all the server configuration (Dockerfile, entrypoint, cgitrc, sshd, lighttpd, create-repo, git-host-key) move to the git-host project. This repo is now just the program: cmd/, src/, test/, the Makefile that builds git-authz and installs it, and the example policy - the same cmd/src/test/obj layout the reference projects use. The CI pipeline keeps the compile-and-test gate (strict, test, sanitizer, install) and drops the container-build job, which belongs to git-host now.
Diffstat (limited to 'container/lighttpd.conf')
-rw-r--r--container/lighttpd.conf43
1 files changed, 0 insertions, 43 deletions
diff --git a/container/lighttpd.conf b/container/lighttpd.conf
deleted file mode 100644
index cd9d562..0000000
--- a/container/lighttpd.conf
+++ /dev/null
@@ -1,43 +0,0 @@
-server.modules = (
- "mod_alias",
- "mod_auth",
- "mod_authn_file",
- "mod_cgi",
- "mod_rewrite",
- "mod_setenv"
-)
-
-server.bind = "0.0.0.0"
-server.port = 8080
-server.username = "git"
-server.groupname = "git"
-server.document-root = "/var/www/localhost/htdocs"
-server.pid-file = "/run/lighttpd/lighttpd.pid"
-
-index-file.names = ("index.html")
-
-alias.url = (
- "/cgit.cgi" => "/usr/share/webapps/cgit/cgit.cgi",
- "/cgit.css" => "/usr/share/webapps/cgit/cgit.css",
- "/cgit.png" => "/usr/share/webapps/cgit/cgit.png",
- "/cgit" => "/usr/share/webapps/cgit/cgit.cgi",
- "/favicon.ico" => "/usr/share/webapps/cgit/favicon.ico",
- "/robots.txt" => "/usr/share/webapps/cgit/robots.txt",
- "/git" => "/usr/local/libexec/git-http-backend.cgi"
-)
-
-url.rewrite-once = (
- "^/$" => "/cgit"
-)
-
-cgi.assign = (
- ".cgi" => ""
-)
-
-setenv.add-environment = (
- "CGIT_CONFIG" => "/etc/cgitrc",
- "GIT_PROJECT_ROOT" => "/var/lib/git",
- "GIT_HTTP_EXPORT_ALL" => "1"
-)
-
-include "/etc/lighttpd/auth.conf"