collabora

This commit is contained in:
mjallen18
2026-02-12 21:57:00 -06:00
parent fd437ec528
commit 869a320ede
7 changed files with 40 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ let
@office host office.mjallen.dev
handle @office {
reverse_proxy http://10.0.1.3:${toString config.${namespace}.services.onlyoffice.port}
reverse_proxy http://10.0.1.3:${toString config.${namespace}.services.collabora.port}
}
'';
};

View File

@@ -39,12 +39,19 @@ let
# Restrict loading documents from WOPI Host
storage.wopi = {
"@allow" = true;
host = [ "cloud.mjallen.dev" ];
"allow" = true;
host = [ "https://cloud.mjallen.dev:443" ];
};
# Set FQDN of server
server_name = "office.mjallen.dev";
};
aliasGroups = [
{
host = "https://cloud.mjallen.dev:443";
}
];
};
};
};

View File

@@ -27,6 +27,11 @@ let
configureRedis = true;
enableImagemagick = true;
appstoreEnable = true;
# extraApps = with pkgs.${namespace}; {
# richdocumentscode = nextcloud-code-server;
# # richdocuments = nextcloud-richdocuments;
# };
# Use PostgreSQL for database
config = {
@@ -69,6 +74,8 @@ let
https = false;
settings = {
overwrite.cli.url = "https://cloud.mjallen.dev";
log_type = "file";
default_phone_region = "US";
trusted_proxies = [ "10.0.1.3" ];
trusted_domains = [
@@ -97,6 +104,7 @@ let
# Configure web server
services.nginx = {
enable = true;
group = "jallen-nas";
virtualHosts.${config.services.nextcloud.hostName} = {
listen = [{
addr = "0.0.0.0";