feat: onlyoffice server

This commit is contained in:
s-prechtl 2025-07-01 01:33:31 +02:00
parent 42898035ba
commit c806ca34f3
2 changed files with 24 additions and 12 deletions

View file

@ -21,10 +21,17 @@
adminuser = "admin";
adminpassFile = config.age.secrets.nextcloud.path;
dbtype = "pgsql";
maintenance_window_start = 3;
};
database.createLocally = true;
};
services.onlyoffice = {
enable = true;
hostname = "localhost";
jwtSecretFile = config.age.secrets.onlyoffice.path;
};
services.nginx = {
enable = true;
recommendedGzipSettings = true;
@ -35,6 +42,11 @@
forceSSL = true;
enableACME = true;
};
virtualHosts.${config.services.onlyoffice.hostname} = {
forceSSL = true;
enableACME = true;
};
};
security.acme = {