From 083b08b7899a486be74493246b4fd01c442c8f4b Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 29 Dec 2023 14:27:17 -0500 Subject: [PATCH] traefik: fix gitssh --- hosts/sora/services/traefik.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hosts/sora/services/traefik.nix b/hosts/sora/services/traefik.nix index 1b5510b..f5083dc 100644 --- a/hosts/sora/services/traefik.nix +++ b/hosts/sora/services/traefik.nix @@ -16,10 +16,13 @@ routers = { gitssh = { rule = "HostSNI(`*`)"; - entrypoints = ["gitssh"]; + entrypoints = ["ssh"]; service = "gitssh"; }; }; + services = { + gitssh.loadBalancer.servers = [{address = "100.121.201.47:2222";}]; + }; }; http = { middlewares = { @@ -204,7 +207,6 @@ }; }; services = { - gitssh.loadBalancer.servers = [{url = "tcp://100.121.201.47:2222";}]; uptime-kuma.loadBalancer.servers = [{url = "http://100.104.42.96:4000";}]; gotify.loadBalancer.servers = [{url = "http://100.104.42.96:3000";}]; conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}]; @@ -236,7 +238,7 @@ web = { address = ":80"; }; - gitssh = { + ssh = { address = ":2222"; }; };