matrix: Added nginx to matrix-synapse group

This allowed reading of ACME certs.
This commit is contained in:
Craige McWhirter 2021-01-21 11:32:24 +10:00
parent d9a8103276
commit 9f2dc96557
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -109,9 +109,6 @@
"chat.mcwhirter.io" = {
forceSSL = true;
enableACME = true;
serverAliases = [
"chat.${config.networking.domain}"
];
root = pkgs.element-web; # Install RIOT web in the nginx root
};
};
@ -149,7 +146,7 @@
email = "acme@mcwhirter.io";
};
"synapse.mcwhirter.io" = {
group = "matrix-synapse";
#group = "matrix-synapse";
postRun = "systemctl reload nginx.service; systemctl restart matrix-synapse.service";
email = "acme@mcwhirter.io";
};
@ -164,4 +161,6 @@
];
};
users.groups.matrix-synapse.members = [ "nginx" ]; # Added for keys permissions
}