Collabora Office fix
This commit is contained in:
parent
0c5fa9b8d4
commit
11bcac1297
3 changed files with 48 additions and 5 deletions
|
|
@ -23,8 +23,16 @@ with lib.custom; {
|
|||
dbtype = "pgsql";
|
||||
adminpassFile = config.sops.secrets."services/nextcloud/dbPassword".path;
|
||||
};
|
||||
phpOptions = {
|
||||
"opcache.interned_strings_buffer" = "64";
|
||||
"opcache.memory_consumption" = "256";
|
||||
};
|
||||
settings = {
|
||||
"maintenance_window_start" = 1;
|
||||
log_type = "syslog";
|
||||
default_locale = "ru_RU";
|
||||
default_phone_region = "DE";
|
||||
allow_user_to_change_display_name = true;
|
||||
};
|
||||
hostName = "nextcloud.kylekrein.com";
|
||||
https = true;
|
||||
|
|
@ -80,7 +88,7 @@ with lib.custom; {
|
|||
post_allow.host = ["::1"];
|
||||
};
|
||||
|
||||
# Restrict loading documents from WOPI Host nextcloud.example.com
|
||||
# Restrict loading documents from WOPI Host nextcloud.kylekrein.com
|
||||
storage.wopi = {
|
||||
"@allow" = true;
|
||||
host = ["nextcloud.kylekrein.com"];
|
||||
|
|
@ -97,7 +105,6 @@ with lib.custom; {
|
|||
wopi_url = "http://[::1]:${toString config.services.collabora-online.port}";
|
||||
public_wopi_url = "https://collabora.kylekrein.com";
|
||||
wopi_allowlist = lib.concatStringsSep "," [
|
||||
"192.168.178.129"
|
||||
"127.0.0.1"
|
||||
"::1"
|
||||
];
|
||||
|
|
@ -115,4 +122,9 @@ with lib.custom; {
|
|||
Type = "oneshot";
|
||||
};
|
||||
};
|
||||
|
||||
networking.hosts = {
|
||||
"127.0.0.1" = ["nextcloud.kylekrein.com" "collabora.kylekrein.com"];
|
||||
"::1" = ["nextcloud.kylekrein.com" "collabora.kylekrein.com"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue