Update homserver config

This commit is contained in:
caem 2023-06-25 12:21:00 +02:00
parent 26694e1e52
commit eafad2af57
5 changed files with 72 additions and 7 deletions

View file

@ -0,0 +1,13 @@
{ ... }:
{
services.nginx.enable = true;
services.nginx.virtualHosts."192.168.2.69" = {
root = "/mnt/mass/Torrents";
extraConfig = ''
autoindex on;
'';
};
networking.firewall.allowedTCPPorts = [ 80 ];
}