matrix: Added nginx to matrix-synapse group
This allowed reading of ACME certs.
This commit is contained in:
parent
d9a8103276
commit
9f2dc96557
|
@ -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
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue