mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 10:48:56 +02:00
Add minecraft bluemap service.
This commit is contained in:
parent
8c4216e1bf
commit
70575186c6
2 changed files with 12 additions and 4 deletions
|
|
@ -210,7 +210,6 @@ in {
|
||||||
url = "https://cdn.modrinth.com/data/swbUV1cr/versions/TROfpX7m/bluemap-5.16-fabric.jar";
|
url = "https://cdn.modrinth.com/data/swbUV1cr/versions/TROfpX7m/bluemap-5.16-fabric.jar";
|
||||||
sha512 = "138c022c61ff7b37174351625bdb859d7b0fd1dd33b76a32d894dc6fd8fe1c3d3c5d2a8575a3e72a82ca84baaf3253c485085d8a415cc76d1ed20bbabe88ab25";
|
sha512 = "138c022c61ff7b37174351625bdb859d7b0fd1dd33b76a32d894dc6fd8fe1c3d3c5d2a8575a3e72a82ca84baaf3253c485085d8a415cc76d1ed20bbabe88ab25";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -417,6 +417,14 @@ in {
|
||||||
# strip the /management prefix before proxying to the backend
|
# strip the /management prefix before proxying to the backend
|
||||||
middlewares = ["mail-strip-management"];
|
middlewares = ["mail-strip-management"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bluemap = {
|
||||||
|
rule = "Host(`minecraft.prg-radio.org`)";
|
||||||
|
service = "bluemap";
|
||||||
|
entryPoints = ["websecure"];
|
||||||
|
tls = {certresolver = "acme";};
|
||||||
|
middlewares = ["anubisForwardAuth"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
http.services = {
|
http.services = {
|
||||||
|
|
@ -475,11 +483,12 @@ in {
|
||||||
servers = [{url = "http://10.1.1.15:8081";}];
|
servers = [{url = "http://10.1.1.15:8081";}];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Minecraft service (plain TCP on 25565)
|
# BlueMap HTTP backend - forward to the Minecraft host webserver on port 8100
|
||||||
minecraft.loadBalancer = {
|
bluemap.loadBalancer = {
|
||||||
servers = [
|
servers = [
|
||||||
{url = "http://10.1.1.244:25565";}
|
{url = "http://10.1.1.244:8100";}
|
||||||
];
|
];
|
||||||
|
passHostHeader = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue