summaryrefslogtreecommitdiff
path: root/config/cgit.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2017-05-14 22:43:43 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2017-05-14 22:43:43 -0400
commitd55fc225a04bffaef8a4a9805e93aed2c41626cb (patch)
tree06407d7bb80dce1438c57ca47ce7a5e6185169d9 /config/cgit.nix
parentf5919010dcd225d9cb778bd5b9f8295044f3db81 (diff)
cgit: Fix tabbing error
Diffstat (limited to 'config/cgit.nix')
-rw-r--r--config/cgit.nix12
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";