From b4f345b1c59405ad91877775f014895cc7a8f114 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 22 Jan 2019 11:03:01 +0100 Subject: [PATCH] =?UTF-8?q?cr=C3=A9ation=20site=20Factorio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- systems/LoutreOS/services.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/systems/LoutreOS/services.nix b/systems/LoutreOS/services.nix index 0539a3007..fa6a9f315 100644 --- a/systems/LoutreOS/services.nix +++ b/systems/LoutreOS/services.nix @@ -9,6 +9,7 @@ let pgmanage_port = 52347; max_port = 52348; musique_port = 52349; + factorio_port = 52351; in { @@ -60,6 +61,7 @@ in "pgmanage.${domaine}" = { ip = "127.0.0.1"; port = pgmanage_port; auth = true; }; "gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; }; "ci.${domaine}" = { ip = "127.0.0.1"; port = 52350; auth = false; }; + "factorio.${domaine}" = { ip = "127.0.0.1"; port = factorio_port; auth = false; }; }; }; @@ -210,6 +212,10 @@ in listen = [ { addr = "127.0.0.1"; port = riot_port; } ]; locations = { "/" = { root = pkgs.riot-web; }; }; }; + "factorio" = { + listen = [ { addr = "127.0.0.1"; port = factorio_port; } ]; + locations = { "/" = { root = "/var/www/factorio"; }; }; + }; }; };