From 7ad7a5a1f29f12b91a411780ce5a19f56152a1aa Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Sun, 22 Jun 2025 19:29:26 +0200 Subject: [PATCH] feat: proxies --- hosts/hitsugibune/nextcloud.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/hitsugibune/nextcloud.nix b/hosts/hitsugibune/nextcloud.nix index a63a4e6..c255fe8 100644 --- a/hosts/hitsugibune/nextcloud.nix +++ b/hosts/hitsugibune/nextcloud.nix @@ -19,6 +19,7 @@ prot = "https"; # or https host = config.services.nextcloud.hostName; dir = "/nextcloud"; + proxies = [ "127.0.0.1" ]; in { overwriteprotocol = prot; overwritehost = host; @@ -26,6 +27,7 @@ overwrite.cli.url = "${prot}://${host}${dir}/"; htaccess.RewriteBase = dir; log_type = "file"; + trusted_proxies = proxies; }; config = { adminuser = "admin";