From 545c4d30fa59bf7adca8386576a29845fbb580fc Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 26 May 2023 22:19:39 -0400 Subject: [PATCH] traefik: move services to bottom --- modules/services/traefik.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/services/traefik.nix b/modules/services/traefik.nix index d9e4f4b..8936f59 100644 --- a/modules/services/traefik.nix +++ b/modules/services/traefik.nix @@ -14,16 +14,6 @@ enable = true; dynamicConfigOptions = { http = { - services = { - homepage.loadBalancer.servers = [{url = "http://localhost:3005";}]; - searxng.loadBalancer.servers = [{url = "http://localhost:8085";}]; - hugo.loadBalancer.servers = [{url = "http://localhost:1313";}]; - stash.loadBalancer.servers = [{url = "http://localhost:9999";}]; - jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}]; - foundryvtt.loadBalancer.servers = [{url = "http://localhost:30000";}]; - gitea.loadBalancer.servers = [{url = "http://localhost:3000";}]; - rustypaste.loadBalancer.servers = [{url = "http://localhost:8000";}]; - }; routers = { api = { rule = "PathPrefix(`/api/`)"; @@ -79,6 +69,16 @@ tls.certresolver = "production"; }; }; + services = { + homepage.loadBalancer.servers = [{url = "http://localhost:3005";}]; + searxng.loadBalancer.servers = [{url = "http://localhost:8085";}]; + hugo.loadBalancer.servers = [{url = "http://localhost:1313";}]; + stash.loadBalancer.servers = [{url = "http://localhost:9999";}]; + jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}]; + foundryvtt.loadBalancer.servers = [{url = "http://localhost:30000";}]; + gitea.loadBalancer.servers = [{url = "http://localhost:3000";}]; + rustypaste.loadBalancer.servers = [{url = "http://localhost:8000";}]; + }; }; }; staticConfigOptions = {