fix minecraft-server on loadedskypotato
This commit is contained in:
parent
e22416df84
commit
4dc2de88e2
1 changed files with 6 additions and 6 deletions
|
|
@ -112,16 +112,16 @@ in
|
||||||
(lib.mkIf (config.networking.hostName == "loadedskypotato") {
|
(lib.mkIf (config.networking.hostName == "loadedskypotato") {
|
||||||
services.nginx.streamConfig = ''
|
services.nginx.streamConfig = ''
|
||||||
server {
|
server {
|
||||||
listen ${survivalPort} reuseport;
|
listen ${builtins.toString survivalPort} reuseport;
|
||||||
proxy_pass 10.100.0.2:${survivalPort};
|
proxy_pass 10.100.0.2:${builtins.toString survivalPort};
|
||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
listen ${creativePort} reuseport;
|
listen ${builtins.toString creativePort} reuseport;
|
||||||
proxy_pass 10.100.0.2:${creativePort};
|
proxy_pass 10.100.0.2:${builtins.toString creativePort};
|
||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
listen ${cobblemonPort} reuseport;
|
listen ${builtins.toString cobblemonPort} reuseport;
|
||||||
proxy_pass 10.100.0.2:${cobblemonPort};
|
proxy_pass 10.100.0.2:${builtins.toString cobblemonPort};
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue