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

@@ -96,26 +96,11 @@
};
};
services.gitea = {
enable = true;
settings = {
server = {
ROOT_URL = "https://gitea.manticore-hippocampus.ts.net/";
DOMAIN = "gitea.manticore-hippocampus.ts.net";
HTTP_ADDR = "127.0.0.1";
HTTP_PORT = 8380;
};
};
};
services.caddy = {
enable = true;
virtualHosts."tahani.manticore-hippocampus.ts.net".extraConfig = ''
respond "OK"
'';
virtualHosts."gitea.manticore-hippocampus.ts.net".extraConfig = ''
reverse_proxy localhost:8380
'';
};
# Allow Caddy to fetch Tailscale HTTPS certs