From b33b1ea8ef5d5511e34fed41ad9a8199d0d58331 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 21 Jul 2024 20:07:08 +0300 Subject: 2024-07-21 --- modules/git/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/git') 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; }; }; -- cgit 1.4.1