From 94a72bff1ed53b0578589b666c797c613d749e18 Mon Sep 17 00:00:00 2001 From: DerFossiBaer <56678897+DerFossiBaer@users.noreply.github.com> Date: Wed, 5 May 2021 10:39:58 +0200 Subject: [PATCH] Update install-service.sh Added'trusted_proxies' => array ( '$NEXTCLOUD_REVPROX' ), To enable source IP detection over reverse proxy --- src/nextcloud/install-service.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nextcloud/install-service.sh b/src/nextcloud/install-service.sh index 32f1c93..870263c 100644 --- a/src/nextcloud/install-service.sh +++ b/src/nextcloud/install-service.sh @@ -388,6 +388,10 @@ array ( 'theme' => '', 'trashbin_retention_obligation' => 'auto, 7', 'updater.release.channel' => 'stable', +'trusted_proxies' => +array ( +'$NEXTCLOUD_REVPROX' +), ); EOF