From 087328d725a87f0f43337e596390e2daa96bc39b Mon Sep 17 00:00:00 2001 From: Random936 Date: Sun, 4 Aug 2024 21:39:36 -0700 Subject: [PATCH] Fixed nextcloud install client connection issue --- config/media.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/config/media.nix b/config/media.nix index cde7da9..f621dab 100644 --- a/config/media.nix +++ b/config/media.nix @@ -31,7 +31,10 @@ datadir = "/mnt/storage/nextcloud"; maxUploadSize = "50G"; - settings.overwriteprotocol = "https"; + settings = { + overwriteprotocol = "https"; + htaccess.rewriteBase = "/"; + }; config = { dbtype = "mysql"; @@ -42,10 +45,6 @@ # NGINX Reverse Proxy Setup services.nginx = { enable = true; - recommendedGzipSettings = true; - recommendedOptimisation = true; - recommendedProxySettings = true; - recommendedTlsSettings = true; virtualHosts.${config.services.nextcloud.hostName} = { enableACME = true; forceSSL = true;