nixos/tests/certmgr: Fix file permissions

This test has been broken since 2a413da57efc4, 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; inherit action;
authority = { authority = {
file = { file = {
group = "nobody"; group = "nginx";
owner = "nobody"; owner = "nginx";
path = "/tmp/${host}-ca.pem"; path = "/tmp/${host}-ca.pem";
}; };
label = "www_ca"; label = "www_ca";
@ -18,14 +18,14 @@ let
remote = "localhost:8888"; remote = "localhost:8888";
}; };
certificate = { certificate = {
group = "nobody"; group = "nginx";
owner = "nobody"; owner = "nginx";
path = "/tmp/${host}-cert.pem"; path = "/tmp/${host}-cert.pem";
}; };
private_key = { private_key = {
group = "nobody"; group = "nginx";
mode = "0600"; mode = "0600";
owner = "nobody"; owner = "nginx";
path = "/tmp/${host}-key.pem"; path = "/tmp/${host}-key.pem";
}; };
request = { request = {