diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-26 07:22:55 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-26 07:22:55 +0100 |
commit | 350ebdf52a181666d268cdb8da13231e886f9306 (patch) | |
tree | 4f67174265b3f9b4c0d1e907936d20e349ef8953 /systems/izumi/system-configuration.scm | |
parent | df39823220b68e84bf514cd301cb98da4a29106f (diff) |
Configure channel server properly
The channel must be served from a subdirectory, because if is configured to the
shorter, cgit path, guix pull receives the website content instead of the git
content.
For good measure, explicitly declare the fcgiwrap service. I am not sure if it
is actually needed in the code, but I do not have the time to test it properly
right now.
Diffstat (limited to 'systems/izumi/system-configuration.scm')
-rw-r--r-- | systems/izumi/system-configuration.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/systems/izumi/system-configuration.scm b/systems/izumi/system-configuration.scm index 8ef77e7..fba55bf 100644 --- a/systems/izumi/system-configuration.scm +++ b/systems/izumi/system-configuration.scm @@ -557,7 +557,7 @@ ( git-http-nginx-location-configuration ( git-http-configuration ( git-root "/var/lib/gitolite/repositories" ) - ( uri-path "/" ) ) ) + ( uri-path "/git" ) ) ) ( nginx-location-configuration ( body ( list @@ -584,6 +584,7 @@ ( hide? #t ) ( path "/srv/git/marek/packages" ) ) ) ) ( repository-directory "/var/lib/gitolite/repositories" ) ) ) + ( service fcgiwrap-service-type ) ( service gitolite-service-type ( gitolite-configuration ( admin-pubkey gitolite-keys ) |