Add minecraft bluemap service.

This commit is contained in:
Root User 2026-03-20 16:20:33 +01:00
parent 8c4216e1bf
commit 70575186c6
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 12 additions and 4 deletions

View file

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

View file

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