From 783f2715f586559961a6440cc1617011ac365501 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Tue, 20 Sep 2022 02:42:46 +0300 Subject: 2022-09-20 --- configurations/manwe/default.nix | 5 +++++ configurations/manwe/webserver.nix | 1 + 2 files changed, 6 insertions(+) (limited to 'configurations/manwe') diff --git a/configurations/manwe/default.nix b/configurations/manwe/default.nix index 47a2040..5531cb9 100644 --- a/configurations/manwe/default.nix +++ b/configurations/manwe/default.nix @@ -23,6 +23,11 @@ with lib; { monitoring.enable = true; + git.server = { + enable = true; + domain = "git.${my.domain.azahi}"; + }; + gotify.enable = true; matrix.dendrite = { enable = true; diff --git a/configurations/manwe/webserver.nix b/configurations/manwe/webserver.nix index fd23432..8c68441 100644 --- a/configurations/manwe/webserver.nix +++ b/configurations/manwe/webserver.nix @@ -7,6 +7,7 @@ with lib; { config.nixfiles.modules.nginx.virtualHosts = with my.domain; { ${shire}.locations."/".return = "301 https://www.youtube.com/watch?v=dQw4w9WgXcQ"; + "git.${shire}".locations."/".return = "301 https://git.azahi.cc"; ${azahi} = { serverAliases = ["frodo.${gondor}" "frodo.${rohan}"]; locations."/".root = inputs.azahi-cc; -- cgit 1.4.1