From 6e296bbc2e11c50ea05dd361ea9304b884362b3f Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 29 Sep 2023 13:10:04 -0400 Subject: [PATCH] Update alpine-nextcloud-install.sh error control --- install/alpine-nextcloud-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/alpine-nextcloud-install.sh b/install/alpine-nextcloud-install.sh index ae30ab31..e201875b 100644 --- a/install/alpine-nextcloud-install.sh +++ b/install/alpine-nextcloud-install.sh @@ -175,6 +175,7 @@ server { location ^~ /.well-known/nodeinfo { return 301 /index.php/.well-known/nodeinfo; } } EOF +sed -i -E '/^php_admin_(flag|value)\[opcache/s/^/;/' /etc/php82/php-fpm.d/nextcloud.conf sed -i -e 's|client_max_body_size 1m;|client_max_body_size 5120m;|' /etc/nginx/nginx.conf sed -i -e 's|php_admin_value\[memory_limit\] = 512M|php_admin_value\[memory_limit\] = 5120M|' /etc/php82/php-fpm.d/nextcloud.conf sed -i -e 's|php_admin_value\[post_max_size\] = 513M|php_admin_value\[post_max_size\] = 5121M|' /etc/php82/php-fpm.d/nextcloud.conf