gitea on michael

This commit is contained in:
2025-12-11 18:42:09 +00:00
parent 33d5dfc95c
commit 5a0eca680e
2 changed files with 17 additions and 15 deletions

View File

@@ -24,11 +24,28 @@
networking.firewall.allowedTCPPorts = [80 443];
services.gitea = {
enable = true;
database = {
type = "sqlite3";
path = "/var/lib/gitea/data/gitea.db";
};
settings.server = {
ROOT_URL = "https://git.schmatzler.com/";
DOMAIN = "git.schmatzler.com";
HTTP_ADDR = "127.0.0.1";
HTTP_PORT = 3000;
};
};
services.caddy = {
enable = true;
virtualHosts."knot.schmatzler.com".extraConfig = ''
reverse_proxy localhost:5555
'';
virtualHosts."git.schmatzler.com".extraConfig = ''
reverse_proxy localhost:3000
'';
};
services.openssh = {