From fb1ea10c8d770748c15efbe48a42adcb3ca45174 Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst Date: Wed, 25 Oct 2023 16:25:09 +0200 Subject: [PATCH] Increase PHP post_max_size from 8M to 16M. Manage metadata push to EB can be over 8 MB when you have thousands of entities, so increase it a bit. Cannot be set at runtime for only the push endpoint unfortunately. Do not increase it too much as this would be a DoS risk. --- roles/php/templates/openconext.ini.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/php/templates/openconext.ini.j2 b/roles/php/templates/openconext.ini.j2 index 1a5b0bd24..34dddee7d 100644 --- a/roles/php/templates/openconext.ini.j2 +++ b/roles/php/templates/openconext.ini.j2 @@ -10,3 +10,6 @@ session.sid_bits_per_character = 6 ; You are required to use the date.timezone setting date.timezone = "{{ timezone }}" + +; Increase post_max_size from the default for EB metadata push +post_max_size = 16M