2023-05-17 17:10:18 +01:00
|
|
|
{...}: {
|
2023-05-30 10:08:26 +01:00
|
|
|
imports = [./default.nix];
|
2023-05-25 17:05:25 +01:00
|
|
|
services.traefik.dynamicConfigOptions = {
|
|
|
|
http = {
|
|
|
|
routers.gitea = {
|
|
|
|
rule = "Host(`git.xenia.me.uk`)";
|
|
|
|
entryPoints = ["http" "https"];
|
|
|
|
service = "gitea-websecure";
|
|
|
|
tls = {certResolver = "default";};
|
|
|
|
};
|
|
|
|
services.gitea-websecure.loadBalancer.servers = [{url = "http://localhost:3000";}];
|
|
|
|
};
|
2023-05-11 11:54:42 +01:00
|
|
|
};
|
|
|
|
}
|