From 1b00de0f018df441a8e5c5648490f1d272f1b0c8 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Fri, 27 Oct 2023 20:42:23 +0200 Subject: [PATCH] magpie/nextcloud: add php optimizations --- magpie/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/magpie/configuration.nix b/magpie/configuration.nix index 17de10a..f2b74d2 100644 --- a/magpie/configuration.nix +++ b/magpie/configuration.nix @@ -117,6 +117,14 @@ "OC\\Preview\\XBitmap" ]; }; + phpOptions = + config.services.nextcloud.phpOptions.default + // { + "opcache.jit" = "tracing"; + "opcache.jit_buffer_size" = "100M"; + # recommended by nextcloud admin overview + "opcache.interned_strings_buffer" = "16"; + }; }; services.nginx = {