Remember to add IPV4 addresses in pihole for subhosts. This is because their namecheap DNS entries point to the router, so will resolve to our external IP. For IPV6, the addresses point straight to the server, so no additional steps are needed.
18 lines
329 B
Nix
18 lines
329 B
Nix
{
|
|
enable = true;
|
|
domain = "git.jhink.org";
|
|
rootUrl = "https://git.jhink.org";
|
|
httpPort = 3000;
|
|
httpAddress = "127.0.0.1";
|
|
lfs = {
|
|
enable = true;
|
|
contentDir = "/serverdata/gitea/lfs_content";
|
|
};
|
|
stateDir = "/serverdata/gitea";
|
|
settings = {
|
|
repository = {
|
|
DEFAULT_BRANCH = "main";
|
|
};
|
|
};
|
|
}
|