about summary refs log tree commit diff
path: root/nixos/tests/nginx-pubhtml.nix
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2020-04-20 20:12:31 +0300
committerIzorkin <izorkin@elven.pw>2020-05-12 20:03:29 +0300
commitaf6d0095f7f3eecc59223da6141ceb88b1a3e0a0 (patch)
tree5a709c4ef3ad19a588ec23f6022761d08e4a3020 /nixos/tests/nginx-pubhtml.nix
parent97a0928ccb730eda7feec4d6ea515e149a933366 (diff)
nixos/tests: fix nginx-pubhtml test
Diffstat (limited to 'nixos/tests/nginx-pubhtml.nix')
-rw-r--r--nixos/tests/nginx-pubhtml.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/nginx-pubhtml.nix b/nixos/tests/nginx-pubhtml.nix
index 432913cb42d26..6e1e605628e9a 100644
--- a/nixos/tests/nginx-pubhtml.nix
+++ b/nixos/tests/nginx-pubhtml.nix
@@ -2,6 +2,7 @@ import ./make-test-python.nix {
   name = "nginx-pubhtml";
 
   machine = { pkgs, ... }: {
+    systemd.services.nginx.serviceConfig.ProtectHome = "read-only";
     services.nginx.enable = true;
     services.nginx.virtualHosts.localhost = {
       locations."~ ^/\\~([a-z0-9_]+)(/.*)?$".alias = "/home/$1/public_html$2";