diff options
author | Jacek Galowicz <jacek@galowicz.de> | 2020-01-14 10:11:57 +0100 |
---|---|---|
committer | Jacek Galowicz <jacek@galowicz.de> | 2020-01-14 10:11:57 +0100 |
commit | e1b1f5a484f8f28d6b700a1872b2bddbbf6bf50e (patch) | |
tree | b8607e09c200b408e8c0202294b9304b8738c626 /nixos/tests | |
parent | 7f69fdd182ef28ae049417a2a41153640ac185c6 (diff) |
nixosTests.bittorrent: Fix declarative httpd description
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/bittorrent.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/tests/bittorrent.nix b/nixos/tests/bittorrent.nix index e5be652c7112..6889d4548b7c 100644 --- a/nixos/tests/bittorrent.nix +++ b/nixos/tests/bittorrent.nix @@ -38,8 +38,12 @@ in # We need Apache on the tracker to serve the torrents. services.httpd.enable = true; - services.httpd.adminAddr = "foo@example.org"; - services.httpd.documentRoot = "/tmp"; + services.httpd.virtualHosts = { + "torrentserver.org" = { + adminAddr = "foo@example.org"; + documentRoot = "/tmp"; + }; + }; networking.firewall.enable = false; |