mirror of
https://github.com/nextcloud/docker.git
synced 2025-05-03 23:40:54 +02:00
Merge branch 'master' into patch-1
This commit is contained in:
commit
a925a15f12
31 changed files with 245 additions and 190 deletions
|
@ -28,3 +28,8 @@ $trustedProxies = getenv('TRUSTED_PROXIES');
|
|||
if ($trustedProxies) {
|
||||
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
|
||||
}
|
||||
|
||||
$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
|
||||
if ($forwardedForHeaders) {
|
||||
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue