From 908bf41b84d3391d3b41c44f952c2a85b5c13521 Mon Sep 17 00:00:00 2001 From: death916 Date: Mon, 12 May 2025 12:09:40 +0000 Subject: [PATCH] proxy --- modules/nextcloud-setup.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nextcloud-setup.nix b/modules/nextcloud-setup.nix index a9ae36b..ec65af3 100644 --- a/modules/nextcloud-setup.nix +++ b/modules/nextcloud-setup.nix @@ -34,8 +34,9 @@ in package = pkgs.nextcloud31; hostName = "cloud.death916.xyz"; # Use the domain handled by the reverse proxy https = false; # Disable HTTPS since the reverse proxy will handle it + trusted_domains = [ "cloud.death916.xyz" ]; # Only include the reverse proxy domain + overwriteprotocol = "https"; # Force HTTPS in Nextcloud datadir = nextcloudDataPath; - overwriteprotocol = "https"; config = { dbtype = "pgsql"; dbuser = "nextcloud"; @@ -44,8 +45,7 @@ in dbpassFile = dbPassFilePath; adminuser = "death916"; adminpassFile = adminPassFilePath; - trusted_domains = [ "cloud.death916.xyz" "homelab" ]; # Only include the reverse proxy domain - #overwriteprotocol = "https"; # Force HTTPS in Nextcloud + }; caching.redis = true;