From 79cb2e9354fc5d0ebca0101e1aff132b17e871b5 Mon Sep 17 00:00:00 2001 From: Jo Date: Sun, 25 May 2025 22:13:17 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20traefik=20config=20options?= =?UTF-8?q?=20for=20atticd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/nixos/services/atticd/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/nixos/services/atticd/default.nix b/modules/nixos/services/atticd/default.nix index 6e7f6ea..81d5125 100644 --- a/modules/nixos/services/atticd/default.nix +++ b/modules/nixos/services/atticd/default.nix @@ -43,9 +43,10 @@ in { services.traefik.dynamicConfigOptions = { http = { - services.atticd.loadBalancer.server.url = "http://localhost:3900"; + services.atticd.loadBalancer.servers = [ { url = "http://localhost:3900"; } ]; routers.atticd = { - entrypoints = ["websecure"]; + entryPoints = ["websecure"]; + service = "atticd"; rule = "Host(`${cfg.subdomain}.${config.${namespace}.services.domain}`)"; }; };