From b0c383cd2ea841316a00b81f0f1f66e16daef802 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 18 Nov 2023 17:38:58 +0100 Subject: [PATCH] fix(nextcloud): push server is not a trusted proxy The nextcloud push service would fail with the following error message when deploying a new version: please add '2a01:4f8:172:1c25::1' to the list of trusted proxies or configure any existing reverse proxy to forward the 'x-forwarded-for' send by the push server The following x-forwarded-for header was received by Nextcloud: 1.2.3.4 The following trusted proxies are currently configured: "127.0.0.1", "::1" https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/reverse_proxy_configuration.html#defining-trusted-proxies --- hosts/nachtigall/apps/nextcloud.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/nachtigall/apps/nextcloud.nix b/hosts/nachtigall/apps/nextcloud.nix index 4741476..279906b 100644 --- a/hosts/nachtigall/apps/nextcloud.nix +++ b/hosts/nachtigall/apps/nextcloud.nix @@ -50,6 +50,8 @@ trustedProxies = [ "127.0.0.1" "::1" + "138.201.80.102" + "2a01:4f8:172:1c25::1" ]; };