0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-24 06:56:09 +01:00
nextcloud-docker/17.0/fpm/config/reverse_proxy.config.php
Daniel Kesselberg 97d20ade66 Run update.sh
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-06 22:09:10 +02:00

11 lines
No EOL
243 B
PHP

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