diff --git a/configs/workhorse/nextcloud.nix b/configs/workhorse/nextcloud.nix index 3344aed..fca7502 100644 --- a/configs/workhorse/nextcloud.nix +++ b/configs/workhorse/nextcloud.nix @@ -33,6 +33,7 @@ nginx.enable = true; hostName = "nextcloud.workhorse.private"; logLevel = 2; + config.overwriteProtocol = "https"; config.extraTrustedDomains = [ "nextcloud.ingolf-wagner.de" "nextcloud.gaykraft.com" @@ -65,12 +66,9 @@ locations."/" = { proxyPass = "http://192.168.100.11"; extraConfig = '' + # allow big uploads + # ----------------- client_max_body_size 0; - - # rewrite response bodies - # ----------------------- - sub_filter "192.168.100.11" "nextcloud.workhorse.private"; - ''; }; };