From ff32aee52a0e788627da3342a18ff6891a69f0a6 Mon Sep 17 00:00:00 2001 From: notohh Date: Wed, 4 Oct 2023 21:49:14 -0400 Subject: [PATCH] sakura: remove hugo, remove authelia from traefik --- hosts/sakura/services/default.nix | 1 - hosts/sakura/services/hugo.nix | 13 ------------- hosts/sakura/services/traefik.nix | 18 ------------------ 3 files changed, 32 deletions(-) delete mode 100644 hosts/sakura/services/hugo.nix diff --git a/hosts/sakura/services/default.nix b/hosts/sakura/services/default.nix index 1e87626..ebc4adc 100644 --- a/hosts/sakura/services/default.nix +++ b/hosts/sakura/services/default.nix @@ -2,7 +2,6 @@ imports = [ ./traefik.nix ./authelia.nix - ./hugo.nix ./forgejo.nix ./rustypaste.nix ./woodpecker.nix diff --git a/hosts/sakura/services/hugo.nix b/hosts/sakura/services/hugo.nix deleted file mode 100644 index d824b29..0000000 --- a/hosts/sakura/services/hugo.nix +++ /dev/null @@ -1,13 +0,0 @@ -{pkgs, ...}: { - environment.systemPackages = with pkgs; [hugo]; - virtualisation.oci-containers.containers.hugo = { - image = "klakegg/hugo:0.111.3-ext-ubuntu"; - cmd = ["server"]; - volumes = [ - "/home/notoh/docker/hugo:/src" - ]; - ports = [ - "1313:1313" - ]; - }; -} diff --git a/hosts/sakura/services/traefik.nix b/hosts/sakura/services/traefik.nix index ef13e39..1ddc08b 100644 --- a/hosts/sakura/services/traefik.nix +++ b/hosts/sakura/services/traefik.nix @@ -30,21 +30,6 @@ entrypoints = ["web"]; service = "dashdot"; }; - authelia = { - rule = "Host(`passport.notohh.dev`)"; - entrypoints = ["websecure"]; - service = "authelia"; - tls.domains = [{main = "*.notohh.dev";}]; - tls.certresolver = "production"; - }; - hugo = { - rule = "Host(`notohh.dev`)"; - entrypoints = ["websecure"]; - service = "hugo"; - tls.domains = [{main = "*.notohh.dev";}]; - tls.certresolver = "production"; - middlewares = "authelia"; - }; foundryvtt = { rule = "Host(`foundry.flake.sh`)"; entrypoints = ["websecure"]; @@ -96,9 +81,7 @@ }; }; services = { - authelia.loadBalancer.servers = [{url = "http://localhost:9091";}]; dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}]; - hugo.loadBalancer.servers = [{url = "http://localhost:1313";}]; foundryvtt.loadBalancer.servers = [{url = "http://localhost:30000";}]; forgejo.loadBalancer.servers = [{url = "http://localhost:3200";}]; rustypaste.loadBalancer.servers = [{url = "http://localhost:8000";}]; @@ -123,7 +106,6 @@ }; web = { address = ":80"; - forwardedHeaders.insecure = true; }; }; metrics = {