summary refs log tree commit diff
path: root/nixos/tests/ec2.nix
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2019-11-04 16:24:55 -0500
committerAaron Andersen <aaron@fosslib.net>2019-12-24 20:27:48 -0500
commit79215f0df1ddf4bf0db7dc4c5789f8dae9f9bb02 (patch)
tree8ceee3dc89f5c391a72389fef26adf505b3d80f5 /nixos/tests/ec2.nix
parentd5bbb86bcb70cf3a5b252bd5d6d7d17b3e7921eb (diff)
downloadnixpkgs-79215f0df1ddf4bf0db7dc4c5789f8dae9f9bb02.tar
nixpkgs-79215f0df1ddf4bf0db7dc4c5789f8dae9f9bb02.tar.gz
nixpkgs-79215f0df1ddf4bf0db7dc4c5789f8dae9f9bb02.tar.bz2
nixpkgs-79215f0df1ddf4bf0db7dc4c5789f8dae9f9bb02.tar.lz
nixpkgs-79215f0df1ddf4bf0db7dc4c5789f8dae9f9bb02.tar.xz
nixpkgs-79215f0df1ddf4bf0db7dc4c5789f8dae9f9bb02.tar.zst
nixpkgs-79215f0df1ddf4bf0db7dc4c5789f8dae9f9bb02.zip
nixos/httpd: limit serving web content to virtual hosts, convert virtualHosts option type from listOf to attrsOf, add ACME integration
Diffstat (limited to 'nixos/tests/ec2.nix')
-rw-r--r--nixos/tests/ec2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/ec2.nix b/nixos/tests/ec2.nix
index 384fce67c22..c649ce852da 100644
--- a/nixos/tests/ec2.nix
+++ b/nixos/tests/ec2.nix
@@ -113,7 +113,7 @@ in {
         services.httpd = {
           enable = true;
           adminAddr = "test@example.org";
-          documentRoot = "${pkgs.valgrind.doc}/share/doc/valgrind/html";
+          virtualHosts.localhost.documentRoot = "${pkgs.valgrind.doc}/share/doc/valgrind/html";
         };
         networking.firewall.allowedTCPPorts = [ 80 ];
       }