diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 147f8d4b..615eb0a6 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 7.0.0 +version: 7.0.1 # renovate: image=docker.io/library/nextcloud appVersion: 31.0.7 description: A file sharing server that puts the control and security of your own data back into your hands. diff --git a/charts/nextcloud/files/nginx.config.tpl b/charts/nextcloud/files/nginx.config.tpl index 65b59b08..768c4c2f 100644 --- a/charts/nextcloud/files/nginx.config.tpl +++ b/charts/nextcloud/files/nginx.config.tpl @@ -40,10 +40,7 @@ server { {{- end }} {{- end }} - # set max upload size and increase upload timeout: - client_max_body_size 512M; - client_body_timeout 300s; - fastcgi_buffers 64 4K; + {{- .Values.nginx.config.serverBlockCustom | nindent 4 }} # Enable gzip but do not remove ETag headers gzip on; diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 931d287c..9db238bd 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -1,4 +1,3 @@ -## Official nextcloud image version ## ref: https://hub.docker.com/r/library/nextcloud/tags/ ## image: @@ -352,6 +351,14 @@ nginx: "X-Robots-Tag": "noindex, nofollow" "X-XSS-Protection": "1; mode=block" + # Added in server block of default config. + serverBlockCustom: | + # set max upload size + client_max_body_size 10G; + client_body_timeout 300s; + fastcgi_buffers 64 4K; + fastcgi_read_timeout 3600s; + custom: # custom: |- # worker_processes 1;..