0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-17 00:24:47 +02:00

Run update.sh

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-04-06 21:36:20 +02:00
parent 8f268a8dc4
commit 97d20ade66
18 changed files with 153 additions and 0 deletions

View file

@ -0,0 +1,11 @@
<?php
$trustedProxies = getenv('TRUSTED_PROXIES');
if ($trustedProxies) {
$trustedProxies = array_filter(array_map('trim', explode(' ', $trustedProxies)));
} else {
$trustedProxies = null;
}
$CONFIG['trusted_proxies'] = $trustedProxies;