summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-23 05:39:20 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-23 05:39:20 +0100
commitdf39823220b68e84bf514cd301cb98da4a29106f (patch)
tree28a4f4bb09abed517c948385c156dc778224c735
parenta63c8fd8858ca7a4c84cfdc6af026af460b602fd (diff)
Set up git-http service on cgit's location
-rw-r--r--systems/izumi/izumi.org4
-rw-r--r--systems/izumi/system-configuration.scm4
2 files changed, 8 insertions, 0 deletions
diff --git a/systems/izumi/izumi.org b/systems/izumi/izumi.org
index c15379c..47c31b7 100644
--- a/systems/izumi/izumi.org
+++ b/systems/izumi/izumi.org
@@ -564,6 +564,10 @@
( nginx-server-configuration
( locations
( list
+ ( git-http-nginx-location-configuration
+ ( git-http-configuration
+ ( git-root "/var/lib/gitolite/repositories" )
+ ( uri-path "/" ) ) )
( nginx-location-configuration
( body
( list
diff --git a/systems/izumi/system-configuration.scm b/systems/izumi/system-configuration.scm
index db7780c..8ef77e7 100644
--- a/systems/izumi/system-configuration.scm
+++ b/systems/izumi/system-configuration.scm
@@ -554,6 +554,10 @@
( nginx-server-configuration
( locations
( list
+ ( git-http-nginx-location-configuration
+ ( git-http-configuration
+ ( git-root "/var/lib/gitolite/repositories" )
+ ( uri-path "/" ) ) )
( nginx-location-configuration
( body
( list