diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/cgit.nix | 12 |
1 files changed, 6 insertions, 6 deletions
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"; |