Added git server
This commit is contained in:
parent
e08c4b27e2
commit
2821a76450
3 changed files with 32 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue