mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
123
This commit is contained in:
@@ -105,15 +105,15 @@ in
|
|||||||
post_allow.host = [
|
post_allow.host = [
|
||||||
"localhost"
|
"localhost"
|
||||||
"nextcloud.zeroq.ru"
|
"nextcloud.zeroq.ru"
|
||||||
|
"nextcloud.local"
|
||||||
"100.64.1.0"
|
"100.64.1.0"
|
||||||
|
"0.0.0.0"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
storage.wopi = {
|
storage.wopi = {
|
||||||
"@allow" = true;
|
"@allow" = true;
|
||||||
host = [
|
host = [
|
||||||
"nextcloud.zeroq.ru"
|
"0.0.0.0/0"
|
||||||
"localhost"
|
|
||||||
"100.64.1.0"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -125,14 +125,14 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
"localhost" = [
|
# "localhost" = [
|
||||||
"nextcloud.zeroq.ru"
|
# "nextcloud.zeroq.ru"
|
||||||
"office.zeroq.ru"
|
# "office.zeroq.ru"
|
||||||
];
|
# ];
|
||||||
"::1" = [
|
# "::1" = [
|
||||||
"office.zeroq.ru"
|
# "office.zeroq.ru"
|
||||||
"nextcloud.zeroq.ru"
|
# "nextcloud.zeroq.ru"
|
||||||
];
|
# ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.nextcloud-config-collabora =
|
systemd.services.nextcloud-config-collabora =
|
||||||
@@ -141,9 +141,7 @@ in
|
|||||||
wopi_url = "http://localhost:${toString config.services.collabora-online.port}";
|
wopi_url = "http://localhost:${toString config.services.collabora-online.port}";
|
||||||
public_wopi_url = "https://office.zeroq.ru";
|
public_wopi_url = "https://office.zeroq.ru";
|
||||||
wopi_allowlist = lib.concatStringsSep "," [
|
wopi_allowlist = lib.concatStringsSep "," [
|
||||||
"nextcloud.zeroq.ru"
|
"0.0.0.0/0"
|
||||||
"localhost"
|
|
||||||
"100.64.1.0"
|
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user