aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-07-04 17:38:54 +0200
committerKarel Kočí <cynerd@email.cz>2024-07-04 17:38:54 +0200
commitd973ed45edc82c5e4ce40d9454e29d6f671b931c (patch)
tree8b82b0ea0ea82133fed49ed02263617b73543bb9 /nixos
parent1e56e7f04d728989cbe957faf13cab4ef8deb220 (diff)
downloadnixos-personal-d973ed45edc82c5e4ce40d9454e29d6f671b931c.tar.gz
nixos-personal-d973ed45edc82c5e4ce40d9454e29d6f671b931c.tar.bz2
nixos-personal-d973ed45edc82c5e4ce40d9454e29d6f671b931c.zip
nixos/lipwig: fix after changes to the fcgiwrap in upstream
Diffstat (limited to 'nixos')
-rw-r--r--nixos/configurations/lipwig.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/nixos/configurations/lipwig.nix b/nixos/configurations/lipwig.nix
index 524a864..367275a 100644
--- a/nixos/configurations/lipwig.nix
+++ b/nixos/configurations/lipwig.nix
@@ -107,7 +107,7 @@
root = "${pkgs.cgit}/cgit";
locations."/".tryFiles = "$uri @cgit";
locations."@cgit".extraConfig = ''
- fastcgi_pass unix:${config.services.fcgiwrap.socketAddress};
+ fastcgi_pass unix:${config.services.fcgiwrap.nginx.socket.address};
fastcgi_param SCRIPT_FILENAME ${pkgs.cgit}/cgit/cgit.cgi;
fastcgi_param PATH_INFO $uri;
fastcgi_param QUERY_STRING $args;
@@ -137,9 +137,8 @@
};
};
};
- services.fcgiwrap = {
- enable = true;
- inherit (config.services.nginx) group;
+ services.fcgiwrap.nginx = {
+ socket.group = config.services.nginx.group;
};
security.acme = {
acceptTerms = true;