mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-17 18:46:43 +01:00
making NEXTCLOUD_TRUSTED_DOMAINS after install
Signed-off-by: Melvin mngmt-02 <melvin@suter.dev> Signed-off-by: Melvin Suter <github@suter.dev>
This commit is contained in:
parent
2d39d9d190
commit
a16b4f71cc
9 changed files with 63 additions and 0 deletions
7
25/apache/config/trusteddomains.config.php
Normal file
7
25/apache/config/trusteddomains.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||||
|
$CONFIG = array(
|
||||||
|
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
|
||||||
|
);
|
||||||
|
}
|
7
25/fpm-alpine/config/trusteddomains.config.php
Normal file
7
25/fpm-alpine/config/trusteddomains.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||||
|
$CONFIG = array(
|
||||||
|
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
|
||||||
|
);
|
||||||
|
}
|
7
25/fpm/config/trusteddomains.config.php
Normal file
7
25/fpm/config/trusteddomains.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||||
|
$CONFIG = array(
|
||||||
|
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
|
||||||
|
);
|
||||||
|
}
|
7
26/apache/config/trusteddomains.config.php
Normal file
7
26/apache/config/trusteddomains.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||||
|
$CONFIG = array(
|
||||||
|
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
|
||||||
|
);
|
||||||
|
}
|
7
26/fpm-alpine/config/trusteddomains.config.php
Normal file
7
26/fpm-alpine/config/trusteddomains.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||||
|
$CONFIG = array(
|
||||||
|
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
|
||||||
|
);
|
||||||
|
}
|
7
26/fpm/config/trusteddomains.config.php
Normal file
7
26/fpm/config/trusteddomains.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||||
|
$CONFIG = array(
|
||||||
|
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
|
||||||
|
);
|
||||||
|
}
|
7
27/apache/config/trusteddomains.config.php
Normal file
7
27/apache/config/trusteddomains.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||||
|
$CONFIG = array(
|
||||||
|
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
|
||||||
|
);
|
||||||
|
}
|
7
27/fpm-alpine/config/trusteddomains.config.php
Normal file
7
27/fpm-alpine/config/trusteddomains.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||||
|
$CONFIG = array(
|
||||||
|
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
|
||||||
|
);
|
||||||
|
}
|
7
27/fpm/config/trusteddomains.config.php
Normal file
7
27/fpm/config/trusteddomains.config.php
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||||
|
$CONFIG = array(
|
||||||
|
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in a new issue