forked from nyanloutre/nixos-config
création site Factorio
This commit is contained in:
parent
eaf0c9e955
commit
b4f345b1c5
@ -9,6 +9,7 @@ let
|
|||||||
pgmanage_port = 52347;
|
pgmanage_port = 52347;
|
||||||
max_port = 52348;
|
max_port = 52348;
|
||||||
musique_port = 52349;
|
musique_port = 52349;
|
||||||
|
factorio_port = 52351;
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -60,6 +61,7 @@ in
|
|||||||
"pgmanage.${domaine}" = { ip = "127.0.0.1"; port = pgmanage_port; auth = true; };
|
"pgmanage.${domaine}" = { ip = "127.0.0.1"; port = pgmanage_port; auth = true; };
|
||||||
"gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; };
|
"gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; };
|
||||||
"ci.${domaine}" = { ip = "127.0.0.1"; port = 52350; 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; } ];
|
listen = [ { addr = "127.0.0.1"; port = riot_port; } ];
|
||||||
locations = { "/" = { root = pkgs.riot-web; }; };
|
locations = { "/" = { root = pkgs.riot-web; }; };
|
||||||
};
|
};
|
||||||
|
"factorio" = {
|
||||||
|
listen = [ { addr = "127.0.0.1"; port = factorio_port; } ];
|
||||||
|
locations = { "/" = { root = "/var/www/factorio"; }; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user