0
0
Fork 0
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:
Melvin mngmt-02 2023-10-13 16:14:17 +02:00 committed by Melvin Suter
parent 2d39d9d190
commit a16b4f71cc
9 changed files with 63 additions and 0 deletions

View 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')))
);
}

View 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')))
);
}

View 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')))
);
}

View 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')))
);
}

View 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')))
);
}

View 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')))
);
}

View 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')))
);
}

View 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')))
);
}

View 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')))
);
}