15 lines
405 B
Nix
15 lines
405 B
Nix
{...}: {
|
|
imports = [./default.nix ./sshd.nix];
|
|
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";}];
|
|
};
|
|
};
|
|
}
|