From e18239d5bfa5d8f4191de129f14495376495b7d7 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Wed, 5 Jul 2023 01:38:41 +0100 Subject: [PATCH] fix the fixing of the fix kind --- docker/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/start.sh b/docker/start.sh index 7003c30..3293b93 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -27,7 +27,7 @@ sed -i "s/^post_max_size = .*/post_max_size = ${MAX_UPLOAD_SIZE}/" /etc/php/8.1/ sed -i "s/client_max_body_size 500M;/client_max_body_size ${MAX_UPLOAD_SIZE};/" /etc/nginx/nginx.conf # Setting env variable in php-fpm -echo "env[MAX_UPLOAD_SIZE] = ${MAX_UPLOAD_SIZE}" >> /etc/php/8.1/fpm/pool.d/www.conf +echo "env[UPLOAD_SECRETS] = ${UPLOAD_SECRETS}" >> /etc/php/8.1/fpm/pool.d/www.conf # Restart php to apply changes echo "Restarting PHP to apply changes for max upload size"