traefik: fix gitssh

This commit is contained in:
notohh 2023-12-29 14:27:17 -05:00
parent c7ea357d9b
commit 083b08b789
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -16,10 +16,13 @@
routers = { routers = {
gitssh = { gitssh = {
rule = "HostSNI(`*`)"; rule = "HostSNI(`*`)";
entrypoints = ["gitssh"]; entrypoints = ["ssh"];
service = "gitssh"; service = "gitssh";
}; };
}; };
services = {
gitssh.loadBalancer.servers = [{address = "100.121.201.47:2222";}];
};
}; };
http = { http = {
middlewares = { middlewares = {
@ -204,7 +207,6 @@
}; };
}; };
services = { services = {
gitssh.loadBalancer.servers = [{url = "tcp://100.121.201.47:2222";}];
uptime-kuma.loadBalancer.servers = [{url = "http://100.104.42.96:4000";}]; uptime-kuma.loadBalancer.servers = [{url = "http://100.104.42.96:4000";}];
gotify.loadBalancer.servers = [{url = "http://100.104.42.96:3000";}]; gotify.loadBalancer.servers = [{url = "http://100.104.42.96:3000";}];
conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}]; conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}];
@ -236,7 +238,7 @@
web = { web = {
address = ":80"; address = ":80";
}; };
gitssh = { ssh = {
address = ":2222"; address = ":2222";
}; };
}; };