Add root url to gitea config

This commit is contained in:
Evie Litherland-Smith 2023-05-16 15:42:05 +01:00
parent 4dc6f8c245
commit 4e3222d4f6

View file

@ -3,7 +3,11 @@
imports = [ ./traefik.nix ./fail2ban.nix ]; imports = [ ./traefik.nix ./fail2ban.nix ];
services.gitea = { services.gitea = {
enable = true; 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"; appName = "Gitea";
}; };
networking.firewall.allowedTCPPorts = [ 80 443 2222 ]; networking.firewall.allowedTCPPorts = [ 80 443 2222 ];