diff options
Diffstat (limited to 'modules/git/default.nix')
-rw-r--r-- | modules/git/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/git/default.nix b/modules/git/default.nix index b32b5bc..d6e31f7 100644 --- a/modules/git/default.nix +++ b/modules/git/default.nix @@ -229,7 +229,7 @@ in '' include ${config.services.nginx.package}/conf/fastcgi_params; fastcgi_split_path_info ^(/?)(.+)$; - fastcgi_pass unix:${config.services.fcgiwrap.socketAddress}; + fastcgi_pass unix:${config.services.fcgiwrap.cgit.socket.address}; fastcgi_param SCRIPT_FILENAME ${cfg.server.package}/cgit/cgit.cgi; fastcgi_param CGIT_CONFIG ${cgitrc}; fastcgi_param PATH_INFO $uri; @@ -287,8 +287,7 @@ in ''; }; - fcgiwrap = { - enable = true; + fcgiwrap.cgit.socket = { inherit user group; }; }; |