custom.php modified
This commit is contained in:
@@ -96,12 +96,10 @@ data:
|
|||||||
}
|
}
|
||||||
custom.php: |-
|
custom.php: |-
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$trustedDomains = getenv('NEXTCLOUD_TRUSTED_DOMAINS');
|
||||||
'dbtableprefix' => 'oc_',
|
if ($trustedDomains) {
|
||||||
'instanceid' => 'ocb8bvdm3qvt',
|
$CONFIG['trusted_domains'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
|
||||||
'passwordsalt' => '5nGOEkkEwGE+suDFOxm/yp0Sw1XHhq',
|
}
|
||||||
'secret' => 'ttxARk+gXNdBBBO3AsH5Na2MPU9uy0UHzXqAKx686ykragmC',
|
|
||||||
);
|
|
||||||
redis.config.php: |-
|
redis.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
if (getenv('REDIS_HOST')) {
|
if (getenv('REDIS_HOST')) {
|
||||||
@@ -286,7 +284,7 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
hooks-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
|
hooks-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
|
||||||
nextcloud-config-hash: 5681a970550c159a349016d58d80be2fe35713759754bb0dfd631f21f38ee6bc
|
nextcloud-config-hash: e26035b594b048948be450f53885c67a804b492f8dc0ca213a774c91df27257b
|
||||||
php-config-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
|
php-config-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/component: app
|
app.kubernetes.io/component: app
|
||||||
|
|||||||
@@ -218,12 +218,10 @@ nextcloud:
|
|||||||
configs:
|
configs:
|
||||||
custom.php: |-
|
custom.php: |-
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$trustedDomains = getenv('NEXTCLOUD_TRUSTED_DOMAINS');
|
||||||
'dbtableprefix' => 'oc_',
|
if ($trustedDomains) {
|
||||||
'instanceid' => 'ocb8bvdm3qvt',
|
$CONFIG['trusted_domains'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
|
||||||
'passwordsalt' => '5nGOEkkEwGE+suDFOxm/yp0Sw1XHhq',
|
}
|
||||||
'secret' => 'ttxARk+gXNdBBBO3AsH5Na2MPU9uy0UHzXqAKx686ykragmC',
|
|
||||||
);
|
|
||||||
# For example, to enable image and text file previews:
|
# For example, to enable image and text file previews:
|
||||||
# previews.config.php: |-
|
# previews.config.php: |-
|
||||||
# <?php
|
# <?php
|
||||||
|
|||||||
Reference in New Issue
Block a user