From 3c22e17818304b42c0393d37c99df4b2146a2ea3 Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 23 Jun 2023 22:34:32 -0400 Subject: [PATCH] sakura: disable conduit for now --- hosts/sakura/services/default.nix | 1 - hosts/sakura/services/traefik.nix | 22 +++++++--------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/hosts/sakura/services/default.nix b/hosts/sakura/services/default.nix index f59c2f5..5a454c2 100644 --- a/hosts/sakura/services/default.nix +++ b/hosts/sakura/services/default.nix @@ -11,6 +11,5 @@ ./hedgedoc.nix ./dashdot.nix ./grafana.nix - ./conduit.nix ]; } diff --git a/hosts/sakura/services/traefik.nix b/hosts/sakura/services/traefik.nix index dcef5d7..9032adb 100644 --- a/hosts/sakura/services/traefik.nix +++ b/hosts/sakura/services/traefik.nix @@ -12,17 +12,17 @@ services.traefik = { enable = true; dynamicConfigOptions = { - http.middlewares.authelia = { - forwardauth = { - address = "http://localhost:9091/api/verify?rd=https://passport.notohh.dev/"; - trustForwardHeader = true; - }; - }; http = { + middlewares.authelia = { + forwardauth = { + address = "http://localhost:9091/api/verify?rd=https://passport.notohh.dev/"; + trustForwardHeader = true; + }; + }; routers = { api = { rule = "PathPrefix(`/api/`)"; - entryPoints = ["websecure"]; + entrypoints = ["websecure"]; service = "api@internal"; }; jellyfin = { @@ -104,13 +104,6 @@ tls.domains = [{main = "*.notohh.dev";}]; tls.certresolver = "production"; }; - conduit = { - rule = "Host(`artoria.notohh.dev`)"; - entrypoints = ["websecure"]; - service = "conduit"; - tls.domains = [{main = "*.notohh.dev";}]; - tls.certresolver = "production"; - }; }; services = { authelia.loadBalancer.servers = [{url = "http://localhost:9091";}]; @@ -125,7 +118,6 @@ woodpecker-server.loadBalancer.servers = [{url = "http://localhost:8200";}]; atticd.loadBalancer.servers = [{url = "http://localhost:8100";}]; hedgedoc.loadBalancer.servers = [{url = "http://localhost:3300";}]; - conduit.loadBalancer.servers = [{url = "http://localhost:6167";}]; }; }; };