diff --git a/hosts/architect/nextcloud.nix b/hosts/architect/nextcloud.nix index 3d8ea53..6c26f5c 100644 --- a/hosts/architect/nextcloud.nix +++ b/hosts/architect/nextcloud.nix @@ -18,6 +18,16 @@ in nginx.virtualHosts.${domain} = { forceSSL = true; enableACME = true; + extraConfig = '' + aio threads; + directio 1M; + output_buffers 3 1M; + + sendfile on; + sendfile_max_chunk 0; + + autoindex on; + ''; }; mysql = { @@ -37,7 +47,7 @@ in enable = true; hostName = domain; https = true; - package = pkgs.unstablePkgs.nextcloud26; + package = pkgs.unstablePkgs.nextcloud27; datadir = "/services/nextcloud"; configureRedis = true; caching = {