This commit is contained in:
2025-12-08 21:44:00 +00:00
parent 04e54540cd
commit 33d5dfc95c
3 changed files with 42 additions and 39 deletions

View File

@@ -100,8 +100,9 @@
enable = true;
settings = {
server = {
ROOT_URL = "https://gitea.manticore-hippocampus.ts.net";
# DOMAIN = "gitea.manticore-hippocampus.ts.net";
ROOT_URL = "https://gitea.manticore-hippocampus.ts.net/";
DOMAIN = "gitea.manticore-hippocampus.ts.net";
HTTP_ADDR = "127.0.0.1";
HTTP_PORT = 8380;
};
};
@@ -113,12 +114,13 @@
respond "OK"
'';
virtualHosts."gitea.manticore-hippocampus.ts.net".extraConfig = ''
handle {
reverse_proxy localhost:8380
}
reverse_proxy localhost:8380
'';
};
# Allow Caddy to fetch Tailscale HTTPS certs
services.tailscale.permitCertUid = "caddy";
home-manager.users.${user} = {
programs.git.settings.user.email = "christoph@schmatzler.com";
};