2023-11-18 16:59:16 +08:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.traefik.dynamicConfigOptions.http.routers = {
|
|
|
|
traefik-dashboard = {
|
|
|
|
rule = "Host(`traefik.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "api@internal";
|
|
|
|
};
|
|
|
|
|
2024-06-03 21:19:58 +08:00
|
|
|
ender1 = {
|
|
|
|
rule = "Host(`e1.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
|
|
|
"admin"
|
|
|
|
];
|
|
|
|
service = "ender1";
|
|
|
|
};
|
2023-11-18 16:59:16 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|