Skip to content

Commit ed0cb34

Browse files
authored
fix(defaultConfigs): update from docker #613
based on d3341b61c1d41ac7fa98a34b8a3c6bc14c534efe
2 parents be60e91 + 03f07c7 commit ed0cb34

4 files changed

Lines changed: 15 additions & 10 deletions

File tree

charts/nextcloud/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: nextcloud
3-
version: 6.5.0
3+
version: 6.5.1
44
appVersion: 30.0.4
55
description: A file sharing server that puts the control and security of your own data back into your hands.
66
keywords:
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22
$CONFIG = array (
3-
"apps_paths" => array (
3+
'apps_paths' => array (
44
0 => array (
5-
"path" => OC::$SERVERROOT."/apps",
6-
"url" => "/apps",
7-
"writable" => false,
5+
'path' => OC::$SERVERROOT.'/apps',
6+
'url' => '/apps',
7+
'writable' => false,
88
),
99
1 => array (
10-
"path" => OC::$SERVERROOT."/custom_apps",
11-
"url" => "/custom_apps",
12-
"writable" => true,
10+
'path' => OC::$SERVERROOT.'/custom_apps',
11+
'url' => '/custom_apps',
12+
'writable' => true,
1313
),
1414
),
1515
);

charts/nextcloud/files/defaultConfigs/reverse-proxy.config.php.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ $trustedProxies = getenv('TRUSTED_PROXIES');
2828
if ($trustedProxies) {
2929
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
3030
}
31+
32+
$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
33+
if ($forwardedForHeaders) {
34+
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
35+
}

charts/nextcloud/files/defaultConfigs/s3.config.php.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
1414
'port' => getenv('OBJECTSTORE_S3_PORT') ?: '',
1515
'storageClass' => getenv('OBJECTSTORE_S3_STORAGE_CLASS') ?: '',
1616
'objectPrefix' => getenv("OBJECTSTORE_S3_OBJECT_PREFIX") ? getenv("OBJECTSTORE_S3_OBJECT_PREFIX") : "urn:oid:",
17-
'autocreate' => (strtolower($autocreate) === 'false' || $autocreate == false) ? false : true,
18-
'use_ssl' => (strtolower($use_ssl) === 'false' || $use_ssl == false) ? false : true,
17+
'autocreate' => strtolower($autocreate) !== 'false',
18+
'use_ssl' => strtolower($use_ssl) !== 'false',
1919
// required for some non Amazon S3 implementations
2020
'use_path_style' => $use_path == true && strtolower($use_path) !== 'false',
2121
// required for older protocol versions

0 commit comments

Comments
 (0)