services.traefik.dynamicConfigOptions
NixOS option
Dynamic configuration for Traefik.
type: TOML valueDefault
{ }Example
declared in: nixos/modules/services/web-servers/traefik.nixView source on NixOS/nixpkgs →{
http = {
routers = {
router1 = {
rule = "Host(`localhost`)";
service = "service1";
};
};
services = {
service1 = {
loadBalancer = {
servers = [
{
url = "http://localhost:8080";
}
];
};
};
};
};
}