From 0f9a27057fa6a7a6cf7d488ad67b0f5805ca0443 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 18 Jun 2023 11:31:43 -0400 Subject: [PATCH] arashi: remove traefik --- hosts/arashi/services/traefik.nix | 39 ------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 hosts/arashi/services/traefik.nix diff --git a/hosts/arashi/services/traefik.nix b/hosts/arashi/services/traefik.nix deleted file mode 100644 index f5fd3ce..0000000 --- a/hosts/arashi/services/traefik.nix +++ /dev/null @@ -1,39 +0,0 @@ -_: { - networking.firewall.allowedTCPPorts = [80 443]; - services.traefik = { - enable = true; - dynamicConfigOptions = { - http = { - routers = { - api = { - rule = "PathPrefix(`/api/`)"; - entryPoints = ["websecure"]; - service = "api@internal"; - }; - }; - services = { - sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}]; - }; - }; - }; - staticConfigOptions = { - log.level = "DEBUG"; - api.dashboard = false; - api.insecure = false; - global = { - checkNewVersion = false; - sendAnonymousUsage = false; - }; - entryPoints = { - websecure = { - address = ":443"; - forwardedHeaders.insecure = true; - }; - web = { - address = ":80"; - forwardedHeaders.insecure = true; - }; - }; - }; - }; -}