Skip to content

A free, self-hostable news aggregator…

Docker: disable session.upload_progress

Nat Welch2258f411d356
diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.sh
index 93a72f12a..f7add12a4 100755
--- a/Docker/entrypoint.sh
+++ b/Docker/entrypoint.sh
@@ -6,6 +6,7 @@ echo "$TZ" >/etc/timezone
find /etc/php*/ -type f -name php.ini -exec sed -i -E \
-e "\\#^;?date.timezone#s#^.*#date.timezone = $TZ#" \
-e "\\#^;?post_max_size#s#^.*#post_max_size = 32M#" \
+ -e "\\#^;?session.upload_progress.enabled#s#^.*#session.upload_progress.enabled = Off#" \
-e "\\#^;?upload_max_filesize#s#^.*#upload_max_filesize = 32M#" {} \;
while read -r config_path _; do