summary refs log tree commit diff
path: root/nixos/tests/nginx-sandbox.nix
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2020-05-12 15:02:57 +0300
committerIzorkin <izorkin@elven.pw>2020-05-12 20:03:29 +0300
commit94391fce1d5c4580482271c2b49ecffdef38b017 (patch)
tree4e3d9ca49acbb82a3861533ca1465c4a231a3fee /nixos/tests/nginx-sandbox.nix
parentaa12fb8adb312943a0ce8a059ce47733249eb5fe (diff)
downloadnixpkgs-94391fce1d5c4580482271c2b49ecffdef38b017.tar
nixpkgs-94391fce1d5c4580482271c2b49ecffdef38b017.tar.gz
nixpkgs-94391fce1d5c4580482271c2b49ecffdef38b017.tar.bz2
nixpkgs-94391fce1d5c4580482271c2b49ecffdef38b017.tar.lz
nixpkgs-94391fce1d5c4580482271c2b49ecffdef38b017.tar.xz
nixpkgs-94391fce1d5c4580482271c2b49ecffdef38b017.tar.zst
nixpkgs-94391fce1d5c4580482271c2b49ecffdef38b017.zip
nixos/nginx: add option enableSandbox
Diffstat (limited to 'nixos/tests/nginx-sandbox.nix')
-rw-r--r--nixos/tests/nginx-sandbox.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/nginx-sandbox.nix b/nixos/tests/nginx-sandbox.nix
index 514318c9456..bc9d3ba8add 100644
--- a/nixos/tests/nginx-sandbox.nix
+++ b/nixos/tests/nginx-sandbox.nix
@@ -18,6 +18,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
     ];
     services.nginx.enable = true;
     services.nginx.package = pkgs.nginx-lua;
+    services.nginx.enableSandbox = true;
     services.nginx.virtualHosts.localhost = {
       extraConfig = ''
         location /test1-write {