summaryrefslogtreecommitdiff
path: root/cgit
diff options
context:
space:
mode:
Diffstat (limited to 'cgit')
-rw-r--r--cgit/deploy.sh2
-rw-r--r--cgit/lighttpd.conf1
2 files changed, 2 insertions, 1 deletions
diff --git a/cgit/deploy.sh b/cgit/deploy.sh
index f8b3f40..276b188 100644
--- a/cgit/deploy.sh
+++ b/cgit/deploy.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
-docker compose up -d
+docker compose up -d --build
diff --git a/cgit/lighttpd.conf b/cgit/lighttpd.conf
index bdc295b..1ce38cc 100644
--- a/cgit/lighttpd.conf
+++ b/cgit/lighttpd.conf
@@ -10,5 +10,6 @@ index-file.names = ("cgit.cgi")
cgi.assign = (".cgi" => "")
url.rewrite-once = (
+ "^/(cgit\.css|cgit\.js|cgit\.png|cgit-favicon\.png)$" => "/$1",
"^(/[^?]*)(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2"
)