fix custom name
This commit is contained in:
@@ -94,7 +94,7 @@ data:
|
||||
if ($autoconfig_enabled) {
|
||||
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR') ?: "/var/www/html/data";
|
||||
}
|
||||
custom.php: |-
|
||||
custom.config.php: |-
|
||||
<?php
|
||||
$trustedDomains = getenv('NEXTCLOUD_TRUSTED_DOMAINS');
|
||||
if ($trustedDomains) {
|
||||
@@ -284,7 +284,7 @@ spec:
|
||||
metadata:
|
||||
annotations:
|
||||
hooks-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
|
||||
nextcloud-config-hash: e26035b594b048948be450f53885c67a804b492f8dc0ca213a774c91df27257b
|
||||
nextcloud-config-hash: a8cce1a4b7d224e7cbcd89284f510931e3b84fb6f93aeb8fc6113ca4b2b120a1
|
||||
php-config-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
|
||||
labels:
|
||||
app.kubernetes.io/component: app
|
||||
@@ -419,9 +419,9 @@ spec:
|
||||
- mountPath: /var/www/html/themes
|
||||
name: nextcloud-main
|
||||
subPath: themes
|
||||
- mountPath: /var/www/html/config/custom.php
|
||||
- mountPath: /var/www/html/config/custom.config.php
|
||||
name: nextcloud-config
|
||||
subPath: custom.php
|
||||
subPath: custom.config.php
|
||||
- mountPath: /var/www/html/config/.htaccess
|
||||
name: nextcloud-config
|
||||
subPath: .htaccess
|
||||
@@ -550,9 +550,9 @@ spec:
|
||||
- mountPath: /var/www/html/themes
|
||||
name: nextcloud-main
|
||||
subPath: themes
|
||||
- mountPath: /var/www/html/config/custom.php
|
||||
- mountPath: /var/www/html/config/custom.config.php
|
||||
name: nextcloud-config
|
||||
subPath: custom.php
|
||||
subPath: custom.config.php
|
||||
- mountPath: /var/www/html/config/.htaccess
|
||||
name: nextcloud-config
|
||||
subPath: .htaccess
|
||||
|
||||
@@ -216,7 +216,7 @@ nextcloud:
|
||||
# Extra config files created in /var/www/html/config/
|
||||
# ref: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-config-php-file
|
||||
configs:
|
||||
custom.php: |-
|
||||
custom.config.php: |-
|
||||
<?php
|
||||
$trustedDomains = getenv('NEXTCLOUD_TRUSTED_DOMAINS');
|
||||
if ($trustedDomains) {
|
||||
|
||||
Reference in New Issue
Block a user