about summary refs log tree commit diff
path: root/users/sterni
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni')
-rw-r--r--users/sterni/machines/ingeborg/http/code.sterni.lv.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/sterni/machines/ingeborg/http/code.sterni.lv.nix b/users/sterni/machines/ingeborg/http/code.sterni.lv.nix
index 3b080b9dc8b5..24ce218d48d6 100644
--- a/users/sterni/machines/ingeborg/http/code.sterni.lv.nix
+++ b/users/sterni/machines/ingeborg/http/code.sterni.lv.nix
@@ -170,7 +170,7 @@ in
   ];
 
   config = {
-    services.fcgiwrap.cgit = {
+    services.fcgiwrap.instances.cgit = {
       process = {
         user = "http";
         group = "http";
@@ -197,7 +197,7 @@ in
           fastcgi_param    QUERY_STRING    $args;
           fastcgi_param    HTTP_HOST       $server_name;
           fastcgi_param    CGIT_CONFIG     ${cgitConfig};
-          fastcgi_pass     unix:${toString config.services.fcgiwrap.cgit.socket.address};
+          fastcgi_pass     unix:${toString config.services.fcgiwrap.instances.cgit.socket.address};
         }
       '';
     };