non working: install collabora online server
This commit is contained in:
parent
944a1a4ebf
commit
02cb481104
1 changed files with 29 additions and 0 deletions
29
void.nix
29
void.nix
|
|
@ -342,6 +342,27 @@
|
||||||
NEXTCLOUD_URL = "https://nextcloud.005540.xyz";
|
NEXTCLOUD_URL = "https://nextcloud.005540.xyz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.collabora-online = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
ssl = {
|
||||||
|
enable = false;
|
||||||
|
termination = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
net = {
|
||||||
|
listen = "loopback";
|
||||||
|
post_allow.host = ["::1"];
|
||||||
|
};
|
||||||
|
|
||||||
|
storage.wopi = {
|
||||||
|
"@allow" = true;
|
||||||
|
host = ["nextcloud.005540.xyz"];
|
||||||
|
};
|
||||||
|
|
||||||
|
server_name = "collabora.005540.xyz";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# dynamic dns
|
# dynamic dns
|
||||||
services.ddclient = {
|
services.ddclient = {
|
||||||
|
|
@ -460,6 +481,14 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
};
|
};
|
||||||
|
"collabora.005540.xyz" = {
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://[::1]:${toString config.services.collabora-online.port}";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue