feat: onlyoffice server
This commit is contained in:
parent
42898035ba
commit
c806ca34f3
2 changed files with 24 additions and 12 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue