diff options
author | stuebinm | 2023-02-13 01:25:41 +0100 |
---|---|---|
committer | stuebinm | 2023-02-13 01:25:41 +0100 |
commit | f5bb3d005ed8871a815276e99b0fc566cb9ed32e (patch) | |
tree | ad97991fd28563463f8d60c25403397716acb90c | |
parent | 5a3c9f5ed5e064a795b7aeea842ca9410156c84a (diff) |
flora/cgit: unbreak smart http git
-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; |