3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests/certmgr: Fix file permissions

This test has been broken since 2a413da57e, which stopped running the
nginx master process as root.
This commit is contained in:
Eric Culp 2020-01-11 14:25:38 -08:00
parent eed30dfa5c
commit dc6451f08c

View file

@ -9,8 +9,8 @@ let
inherit action;
authority = {
file = {
group = "nobody";
owner = "nobody";
group = "nginx";
owner = "nginx";
path = "/tmp/${host}-ca.pem";
};
label = "www_ca";
@ -18,14 +18,14 @@ let
remote = "localhost:8888";
};
certificate = {
group = "nobody";
owner = "nobody";
group = "nginx";
owner = "nginx";
path = "/tmp/${host}-cert.pem";
};
private_key = {
group = "nobody";
group = "nginx";
mode = "0600";
owner = "nobody";
owner = "nginx";
path = "/tmp/${host}-key.pem";
};
request = {