Added php configs as per the doc
This commit is contained in:
@@ -61,6 +61,35 @@ spec:
|
|||||||
usernameKey: nc-admin-username
|
usernameKey: nc-admin-username
|
||||||
passwordKey: nc-admin-password
|
passwordKey: nc-admin-password
|
||||||
trustedDomains: {{ .Values.nextcloud.trustedDomains }}
|
trustedDomains: {{ .Values.nextcloud.trustedDomains }}
|
||||||
|
nextcloud:
|
||||||
|
configs:
|
||||||
|
previews.config.php: |-
|
||||||
|
<?php
|
||||||
|
$CONFIG = array (
|
||||||
|
'enable_previews' => true,
|
||||||
|
'enabledPreviewProviders' => array (
|
||||||
|
'OC\Preview\Movie',
|
||||||
|
'OC\Preview\PNG',
|
||||||
|
'OC\Preview\JPEG',
|
||||||
|
'OC\Preview\GIF',
|
||||||
|
'OC\Preview\BMP',
|
||||||
|
'OC\Preview\XBitmap',
|
||||||
|
'OC\Preview\MP3',
|
||||||
|
'OC\Preview\MP4',
|
||||||
|
'OC\Preview\TXT',
|
||||||
|
'OC\Preview\MarkDown',
|
||||||
|
'OC\Preview\PDF'
|
||||||
|
),
|
||||||
|
);
|
||||||
|
proxy.config.php: |-
|
||||||
|
<?php
|
||||||
|
$CONFIG = array (
|
||||||
|
'trusted_proxies' => array(
|
||||||
|
0 => '127.0.0.1',
|
||||||
|
1 => '10.0.0.0/8',
|
||||||
|
),
|
||||||
|
'forwarded_for_headers' => array('HTTP_X_FORWARDED_FOR'),
|
||||||
|
);
|
||||||
# extraInitContainers - might be useful to make sure the LUKS secret is present
|
# extraInitContainers - might be useful to make sure the LUKS secret is present
|
||||||
# nginx:
|
# nginx:
|
||||||
# enabled: true
|
# enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user