mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-19 12:55:08 +01:00
7 lines
No EOL
212 B
PHP
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'];
|
|
} |