matrix-synapse: utilisation du certificat ACME
This commit is contained in:
parent
c8f2fd50e5
commit
b51cde0014
2 changed files with 8 additions and 2 deletions
|
@ -254,6 +254,8 @@ in
|
|||
database_args = {
|
||||
database = "matrix-synapse";
|
||||
};
|
||||
tls_private_key_path = "/var/lib/acme/${domaine}/key.pem";
|
||||
tls_certificate_path = "/var/lib/acme/${domaine}/fullchain.pem";
|
||||
extraConfig = ''
|
||||
max_upload_size: "100M"
|
||||
'';
|
||||
|
@ -411,6 +413,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
users.groups.acme.members = [ "matrix-synapse" ];
|
||||
|
||||
security.sudo.extraRules = [
|
||||
{ commands = [ { command = "${pkgs.smartmontools}/bin/smartctl"; options = [ "NOPASSWD" ]; } ]; users = [ "telegraf" ]; }
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue