From 09975ab9c717068548dfab8c90820b9fa21f9731 Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 15 Dec 2023 08:28:33 -0500 Subject: [PATCH] sora: init justlog --- hosts/sora/services/traefik.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/sora/services/traefik.nix b/hosts/sora/services/traefik.nix index 912040c..1b5510b 100644 --- a/hosts/sora/services/traefik.nix +++ b/hosts/sora/services/traefik.nix @@ -189,6 +189,19 @@ tls.domains = [{main = "*.flake.sh";}]; tls.certresolver = "production"; }; + justlog-insecure = { + rule = "Host(`logs.flake.sh`)"; + entrypoints = ["web"]; + service = "justlog"; + middlewares = "redirect-to-https"; + }; + justlog = { + rule = "Host(`logs.flake.sh`)"; + entrypoints = ["websecure"]; + service = "justlog"; + tls.domains = [{main = "*.flake.sh";}]; + tls.certresolver = "production"; + }; }; services = { gitssh.loadBalancer.servers = [{url = "tcp://100.121.201.47:2222";}]; @@ -204,6 +217,7 @@ vaultwarden.loadBalancer.servers = [{url = "http://100.121.201.47:8222";}]; searxng.loadBalancer.servers = [{url = "http://100.121.201.47:8100";}]; neko.loadBalancer.servers = [{url = "http://100.104.42.96:8085";}]; + justlog.loadBalancer.servers = [{url = "http://100.121.201.47:8025";}]; }; }; };