🐛 Fix traefik config options for atticd

This commit is contained in:
Jo 2025-05-25 22:13:17 +00:00
parent 4cf6a65764
commit 79cb2e9354

View file

@ -43,9 +43,10 @@ in {
services.traefik.dynamicConfigOptions = { services.traefik.dynamicConfigOptions = {
http = { http = {
services.atticd.loadBalancer.server.url = "http://localhost:3900"; services.atticd.loadBalancer.servers = [ { url = "http://localhost:3900"; } ];
routers.atticd = { routers.atticd = {
entrypoints = ["websecure"]; entryPoints = ["websecure"];
service = "atticd";
rule = "Host(`${cfg.subdomain}.${config.${namespace}.services.domain}`)"; rule = "Host(`${cfg.subdomain}.${config.${namespace}.services.domain}`)";
}; };
}; };