collabora
This commit is contained in:
@@ -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}
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user