diff --git a/bookstack/DOCS.md b/bookstack/DOCS.md index d807fa2..0114ced 100644 --- a/bookstack/DOCS.md +++ b/bookstack/DOCS.md @@ -130,6 +130,7 @@ that there is no easy upgrade path between the two options. ## Known issues and limitations - Ingress will not function due to the way the application stores image files. +- Uploading large images may result in PHP out of memory errors. This arises when PHP attempts to rescale the images and encounters an out of memory issue. ## Changelog & Releases diff --git a/bookstack/rootfs/etc/nginx/includes/server_params.conf b/bookstack/rootfs/etc/nginx/includes/server_params.conf index 28a6700..292f3d3 100644 --- a/bookstack/rootfs/etc/nginx/includes/server_params.conf +++ b/bookstack/rootfs/etc/nginx/includes/server_params.conf @@ -6,7 +6,7 @@ add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; -client_max_body_size 64M; +client_max_body_size 200M; location / { try_files $uri $uri/ /index.php?$query_string; @@ -14,4 +14,4 @@ location / { location ~ /\.ht { deny all; -} \ No newline at end of file +} diff --git a/bookstack/rootfs/etc/php83/php-fpm.d/www.conf b/bookstack/rootfs/etc/php83/php-fpm.d/www.conf index 7c341fc..8aa3317 100644 --- a/bookstack/rootfs/etc/php83/php-fpm.d/www.conf +++ b/bookstack/rootfs/etc/php83/php-fpm.d/www.conf @@ -9,5 +9,5 @@ pm.min_spare_servers = 2 pm.max_spare_servers = 5 pm.max_requests = 1024 clear_env = no -php_admin_value[post_max_size] = 64M -php_admin_value[upload_max_filesize] = 64M \ No newline at end of file +php_admin_value[post_max_size] = 200M +php_admin_value[upload_max_filesize] = 200M