enable forgejo on vps

This commit is contained in:
Yan Lin 2026-02-17 20:51:20 +01:00
parent d5376704ca
commit fa04def7a1
4 changed files with 38 additions and 1 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";
}];
};
};
};
};