mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 19:05:09 +01:00
Run update.sh
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
dfefebb126
commit
0ea2b55a12
9 changed files with 63 additions and 0 deletions
7
15.0/apache/config/trusted_proxies.config.php
Normal file
7
15.0/apache/config/trusted_proxies.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?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'];
|
||||||
|
}
|
7
15.0/fpm-alpine/config/trusted_proxies.config.php
Normal file
7
15.0/fpm-alpine/config/trusted_proxies.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?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'];
|
||||||
|
}
|
7
15.0/fpm/config/trusted_proxies.config.php
Normal file
7
15.0/fpm/config/trusted_proxies.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?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'];
|
||||||
|
}
|
7
16.0/apache/config/trusted_proxies.config.php
Normal file
7
16.0/apache/config/trusted_proxies.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?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'];
|
||||||
|
}
|
7
16.0/fpm-alpine/config/trusted_proxies.config.php
Normal file
7
16.0/fpm-alpine/config/trusted_proxies.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?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'];
|
||||||
|
}
|
7
16.0/fpm/config/trusted_proxies.config.php
Normal file
7
16.0/fpm/config/trusted_proxies.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?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'];
|
||||||
|
}
|
7
17.0/apache/config/trusted_proxies.config.php
Normal file
7
17.0/apache/config/trusted_proxies.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?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'];
|
||||||
|
}
|
7
17.0/fpm-alpine/config/trusted_proxies.config.php
Normal file
7
17.0/fpm-alpine/config/trusted_proxies.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?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'];
|
||||||
|
}
|
7
17.0/fpm/config/trusted_proxies.config.php
Normal file
7
17.0/fpm/config/trusted_proxies.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?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'];
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue