From f5bb3d005ed8871a815276e99b0fc566cb9ed32e Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 13 Feb 2023 01:25:41 +0100 Subject: flora/cgit: unbreak smart http git --- flora/services/cgit.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'flora') 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; -- cgit v1.2.3