Compare commits

..

2 commits

Author SHA1 Message Date
b55cc65349
home: add forgejo ssh
All checks were successful
flake check / check (push) Successful in 7m24s
fmt check / check (push) Successful in 40s
2023-12-29 14:32:58 -05:00
083b08b789
traefik: fix gitssh 2023-12-29 14:27:17 -05:00
2 changed files with 18 additions and 11 deletions

View file

@ -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";
};
};

View file

@ -65,23 +65,23 @@
enable = true;
extraConfig = ''
Host sakura
HostName 100.121.201.47
Hostname 100.121.201.47
User notoh
IdentityFile ~/.ssh/sakura
Host kariru
HostName 100.126.229.95
Hostname 100.126.229.95
User notoh
IdentityFile ~/.ssh/kariru
Host yuki
HostName 100.108.113.89
Hostname 100.108.113.89
User notoh
IdentityFile ~/.ssh/yuki
Host arashi
HostName 100.94.214.100
Hostname 100.94.214.100
User notoh
IdentityFile ~/.ssh/arashi
Host sora
HostName 100.104.42.96
Hostname 100.104.42.96
User notoh
IdentityFile ~/.ssh/sora
Host daphbot
@ -89,19 +89,24 @@
User root
IdentityFile ~/.ssh/daphbot
Host tsuru
HostName 100.82.146.40
Hostname 100.82.146.40
User notoh
IdentityFile ~/.ssh/tsuru
Host haru
HostName 100.73.192.45
Hostname 100.73.192.45
User notoh
IdentityFile ~/.ssh/haru
Host basegbot
HostName 100.83.81.116
User basegbot
IdentityFile ~/.ssh/basegbot
Host git.flake.sh
Hostname git.flake.sh
User notohh
IdentityFile ~/.ssh/notohh-forgejo
Port 2222
Host rpi4
HostName 100.92.145.147
Hostname 100.92.145.147
User notoh
IdentityFile ~/.ssh/rpi4
Host pve