dotfiles.nix/nixos/viridian/services/traefik/routers.nix

26 lines
468 B
Nix
Raw Normal View History

2024-08-08 09:02:42 +08:00
{...}: {
2023-11-18 16:59:16 +08:00
services.traefik.dynamicConfigOptions.http.routers = {
traefik-dashboard = {
rule = "Host(`traefik.kanto.dev`)";
entryPoints = [
"websecure"
];
middlewares = [
2024-09-07 15:49:39 +08:00
"internal"
2023-11-18 16:59:16 +08:00
];
service = "api@internal";
};
ender1 = {
rule = "Host(`e1.kanto.dev`)";
entryPoints = [
"websecure"
];
middlewares = [
2024-09-07 15:49:39 +08:00
"internal"
];
service = "ender1";
};
2023-11-18 16:59:16 +08:00
};
}