summaryrefslogtreecommitdiff
path: root/flora
diff options
context:
space:
mode:
authorstuebinm2023-02-13 01:25:41 +0100
committerstuebinm2023-02-13 01:25:41 +0100
commitf5bb3d005ed8871a815276e99b0fc566cb9ed32e (patch)
treead97991fd28563463f8d60c25403397716acb90c /flora
parent5a3c9f5ed5e064a795b7aeea842ca9410156c84a (diff)
flora/cgit: unbreak smart http git
Diffstat (limited to 'flora')
-rw-r--r--flora/services/cgit.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flora/services/cgit.nix b/flora/services/cgit.nix
index 046d837..5c7410c 100644
--- a/flora/services/cgit.nix
+++ b/flora/services/cgit.nix
@@ -66,6 +66,8 @@ in
enableACME = true;
forceSSL = true;
+ # this one should come last, behind the git-http-backend blocks
+ locations."~ /git(/.*)".priority = 1100;
locations."~ /git(/.*)".extraConfig = ''
fastcgi_pass unix:${config.services.fcgiwrap.socketAddress};
include ${pkgs.nginx}/conf/fastcgi_params;