tangled
alpha
login
or
join now
devins.page
/
flake
0
fork
atom
configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
feat: mc servers in caddy
devins.page
1 month ago
6b516872
a971aa23
+35
-5
1 changed file
expand all
collapse all
unified
split
hosts
bluepill-proxy
modules
caddy.nix
+35
-5
hosts/bluepill-proxy/modules/caddy.nix
···
41
41
};
42
42
globalConfig = ''
43
43
layer4 {
44
44
+
# tangled ssh
44
45
:22 {
45
45
-
@a ssh
46
46
-
route @a {
47
47
-
proxy {
48
48
-
upstream 100.108.47.83:2222
49
49
-
}
46
46
+
proxy { upstream 100.108.47.83:2222 }
47
47
+
}
48
48
+
49
49
+
# mc server 1
50
50
+
:25565 {
51
51
+
proxy { upstream 100.108.47.83:25565 }
52
52
+
}
53
53
+
:25565 {
54
54
+
proxy {
55
55
+
protocol udp
56
56
+
upstream 100.108.47.83:25565
57
57
+
}
58
58
+
}
59
59
+
:24454 {
60
60
+
proxy {
61
61
+
protocol udp
62
62
+
upstream 100.108.47.83:24454
63
63
+
}
64
64
+
}
65
65
+
66
66
+
# mc server 2
67
67
+
:23343 {
68
68
+
proxy { upstream 100.108.47.83:23343 }
69
69
+
}
70
70
+
:23343 {
71
71
+
proxy {
72
72
+
protocol udp
73
73
+
upstream 100.108.47.83:23343
74
74
+
}
75
75
+
}
76
76
+
:22232 {
77
77
+
proxy {
78
78
+
protocol udp
79
79
+
upstream 100.108.47.83:22232
50
80
}
51
81
}
52
82
}