0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-29 00:46:09 +01:00
nextcloud-docker/17.0/apache/config/trusted_proxies.config.php
Daniel Kesselberg 0ea2b55a12 Run update.sh
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-08 15:31:08 +02:00

7 lines
No EOL
212 B
PHP

<?php
if ($trustedProxies = getenv('TRUSTED_PROXIES')) {
$CONFIG['trusted_proxies'] = explode(' ', $trustedProxies);
} else {
$CONFIG['trusted_proxies'] = ['172.16.0.0/12', '192.168.0.0/16', '10.0.0.0/8'];
}