diff options
-rw-r--r-- | flora/services/cgit.nix | 2 |
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; |