From fa69c772f0f72eb2ce813a58ed40511cf11eb2e3 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 20 Feb 2017 16:35:54 +0100 Subject: [PATCH] MAX_UPLOAD_SIZE is the name --- rootfs/etc/confd/templates/www.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/confd/templates/www.conf.tmpl b/rootfs/etc/confd/templates/www.conf.tmpl index f1681e6..5d16082 100644 --- a/rootfs/etc/confd/templates/www.conf.tmpl +++ b/rootfs/etc/confd/templates/www.conf.tmpl @@ -423,7 +423,7 @@ php_admin_flag[log_errors] = true php_admin_value[default_charset] = UTF-8 -{{if (getenv "MAXUPLOADSIZE")}} +{{if (getenv "MAX_UPLOAD_SIZE")}} php_admin_value[upload_max_filesize] = {{getenv "MAX_UPLOAD_SIZE" "512M"}} php_admin_value[post_max_size] = {{getenv "MAX_UPLOAD_SIZE" "512M"}} {{end}}