From 747831d19509cf0ca17898ed718e37ad4bed371c Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Thu, 22 Oct 2026 09:41:28 +0200 Subject: [PATCH] Secure Nextcloud PHP against PHP2Shell --- apps/nextcloud/values.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/nextcloud/values.yaml b/apps/nextcloud/values.yaml index 1c4bab1..458af78 100644 --- a/apps/nextcloud/values.yaml +++ b/apps/nextcloud/values.yaml @@ -1,3 +1,6 @@ +image: + pullPolicy: Always + ingress: enabled: true className: traefik @@ -38,6 +41,8 @@ nextcloud: defaultConfigs: imaginary.config.php: true phpConfigs: + zzz-php2shell-mitigation.ini: |- + session.upload_progress.enabled=Off zzz-opcache-memory.ini: |- opcache.memory_consumption=256 opcache.interned_strings_buffer=32