From 4e3222d4f678c8fe52e7945bc8ed1bcd5de24d8f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 16 May 2023 15:42:05 +0100 Subject: [PATCH] Add root url to gitea config --- server/gitea.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/gitea.nix b/server/gitea.nix index 5c0e1b87..f49dff09 100644 --- a/server/gitea.nix +++ b/server/gitea.nix @@ -3,7 +3,11 @@ imports = [ ./traefik.nix ./fail2ban.nix ]; services.gitea = { enable = true; - settings.server = { DOMAIN = "git.xenia.me.uk"; SSH_PORT = 2222; }; + settings.server = { + ROOT_URL = "https://git.xenia.me.uk"; + DOMAIN = "git.xenia.me.uk"; + SSH_PORT = 2222; + }; appName = "Gitea"; }; networking.firewall.allowedTCPPorts = [ 80 443 2222 ];