enable git server on vps

This commit is contained in:
Yan Lin 2026-02-17 21:11:49 +01:00
parent d5376704ca
commit b4a8fe58a6
5 changed files with 41 additions and 4 deletions

View file

@ -38,6 +38,17 @@
};
};
git = {
rule = "Host(`git.yanlincs.com`)";
service = "git";
tls = {
certResolver = "cloudflare";
domains = [{
main = "*.yanlincs.com";
}];
};
};
};
services = {
@ -59,6 +70,14 @@
};
};
git = {
loadBalancer = {
servers = [{
url = "http://127.0.0.1:3000";
}];
};
};
};
};