LoutreOS: ajout site Minecraft

This commit is contained in:
nyanloutre 2019-11-02 13:53:53 +01:00
parent 3254dc0468
commit e5e12f0e23
2 changed files with 10 additions and 0 deletions

View File

@ -147,6 +147,11 @@
fsType = "zfs";
};
fileSystems."/var/www" =
{ device = "loutrepool/var/www";
fsType = "zfs";
};
swapDevices =
[
{

View File

@ -41,6 +41,7 @@ in
"airsonic.${domaine}" = { ip = "127.0.0.1"; port = 4040; auth = false; };
"${domaine}" = { ip = "127.0.0.1"; port = nginxGetFirstLocalPort "wkd"; auth = false; };
"musique-meyenheim.fr" = { ip = "127.0.0.1"; port = nginxGetFirstLocalPort "musique-meyenheim.fr"; auth = false; };
"minecraft.${domaine}" = { ip = "127.0.0.1"; port = nginxGetFirstLocalPort "minecraft-overviewer"; auth = false; };
};
};
@ -57,6 +58,10 @@ in
listen = [ { addr = "127.0.0.1"; port = 52351; } ];
locations = { "/" = { root = "/var/www/factorio"; }; };
};
"minecraft-overviewer" = {
listen = [ { addr = "127.0.0.1"; port = 52354; } ];
locations = { "/" = { root = "/var/www/minecraft-overviewer"; }; };
};
"wkd" = {
listen = [ { addr = "127.0.0.1"; port = 52352; } ];
locations = { "/.well-known/openpgpkey/" = {