From d55fc225a04bffaef8a4a9805e93aed2c41626cb Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 14 May 2017 22:43:43 -0400 Subject: cgit: Fix tabbing error --- config/cgit.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'config/cgit.nix') diff --git a/config/cgit.nix b/config/cgit.nix index c183c99..628d9dd 100644 --- a/config/cgit.nix +++ b/config/cgit.nix @@ -26,13 +26,13 @@ in virtualHosts = { "git.orbekk.com" = { root = "${pkgs.cgit}/cgit"; - port = gitPort; + ort = gitPort; extraConfig = "try_files $uri @cgit;"; - locations."/git/" = { - extraConfig = '' - rewrite ^/git/(.*) https://git.orbekk.com/$1 permanent; - ''; - }; + locations."/git/" = { + extraConfig = '' + rewrite ^/git/(.*) https://git.orbekk.com/$1 permanent; + ''; + }; locations."@cgit" = { extraConfig = '' include "${pkgs.nginx}/conf/fastcgi_params"; -- cgit v1.2.3