26 lines
462 B
Nix
26 lines
462 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";
|
|
};
|
|
};
|
|
}
|