Déploiement Riot
This commit is contained in:
parent
72d0ff0b4f
commit
d570d18342
10
services.nix
10
services.nix
@ -4,6 +4,7 @@ with lib;
|
||||
|
||||
let
|
||||
domaine = "nyanlout.re";
|
||||
riot_port = 52345;
|
||||
in
|
||||
|
||||
{
|
||||
@ -23,6 +24,7 @@ in
|
||||
syncthing = { ip = "127.0.0.1"; port = 8384; auth = true; };
|
||||
jackett = { ip = "127.0.0.1"; port = 9117; auth = true; };
|
||||
searx = { ip = "127.0.0.1"; port = 8888; auth = false; };
|
||||
riot = { ip = "127.0.0.1"; port = riot_port; auth = false; };
|
||||
};
|
||||
|
||||
services.mailserver.enable = true;
|
||||
@ -92,6 +94,14 @@ in
|
||||
|
||||
services.searx.enable = true;
|
||||
|
||||
services.nginx.enable = true;
|
||||
services.nginx.virtualHosts = {
|
||||
"riot" = {
|
||||
listen = [ { addr = "127.0.0.1"; port = riot_port; } ];
|
||||
locations = { "/" = { root = pkgs.riot-web; }; };
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
111 2049 4000 4001 4002 # NFS
|
||||
3483 9000 9090 # Slimserver
|
||||
|
Loading…
Reference in New Issue
Block a user