mirror of
https://github.com/truenas/charts.git
synced 2026-04-10 06:07:58 +08:00
NAS-123669 / 24.04 / Fix upload size limit on apache (nextcloud) (#1470)
* Fix upload size limit on apache (nextcloud) * bump
This commit is contained in:
@@ -4,7 +4,7 @@ description: A file sharing server that puts the control and security of your ow
|
||||
annotations:
|
||||
title: Nextcloud
|
||||
type: application
|
||||
version: 1.6.41
|
||||
version: 1.6.42
|
||||
apiVersion: v2
|
||||
appVersion: 27.0.2
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
|
||||
@@ -190,6 +190,10 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
|
||||
# after the default php config file nextcloud provides.
|
||||
mountPath: /usr/local/etc/php/conf.d/nextcloud-z-99.ini
|
||||
subPath: php.ini
|
||||
- name: nextcloud-configuration
|
||||
# https://github.com/nextcloud/docker/issues/1796
|
||||
mountPath: /etc/apache2/conf-enabled/limitrequestbody.conf
|
||||
subPath: limitrequestbody.conf
|
||||
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
||||
- name: extrappvolume-{{ $index }}
|
||||
mountPath: {{ $hostPathConfiguration.mountPath }}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{ $bytesGB := 1073741824 }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
@@ -8,3 +9,6 @@ data:
|
||||
|
||||
php.ini: |
|
||||
max_execution_time={{ .Values.nextcloud.max_execution_time }}
|
||||
|
||||
limitrequestbody.conf: |
|
||||
LimitRequestBody {{ mul .Values.nextcloud.max_upload_size $bytesGB }}
|
||||
|
||||
Reference in New Issue
Block a user