Added git server

This commit is contained in:
Lucas Thelen 2025-10-03 18:45:53 +00:00
parent e08c4b27e2
commit 2821a76450
3 changed files with 32 additions and 0 deletions

View file

@ -7,6 +7,7 @@ let
dnsRecords = [
domain
"jellyfin.${domain}"
"git.${domain}"
# Add more records here as needed
# "api.${domain}"
# "mail.${domain}"
@ -85,6 +86,18 @@ in {
locations."/" = { proxyPass = "http://localhost:8096"; };
};
virtualHosts."git.${domain}" = {
forceSSL = true;
enableACME = true;
locations."/" = { proxyPass = "http://localhost:3000"; };
};
# Local git access to avoid NAT hairpinning
virtualHosts."git.homelab" = {
locations."/" = { proxyPass = "http://localhost:3000"; };
};
};
security.acme = {