29 lines
467 B
Nix
29 lines
467 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.traefik.dynamicConfigOptions.http.routers = {
|
|
traefik-dashboard = {
|
|
rule = "Host(`traefik.kanto.dev`)";
|
|
entryPoints = [
|
|
"websecure"
|
|
];
|
|
middlewares = [
|
|
"admin"
|
|
];
|
|
service = "api@internal";
|
|
};
|
|
|
|
ender1 = {
|
|
rule = "Host(`e1.kanto.dev`)";
|
|
entryPoints = [
|
|
"websecure"
|
|
];
|
|
middlewares = [
|
|
"admin"
|
|
];
|
|
service = "ender1";
|
|
};
|
|
};
|
|
}
|
|
|