From 2da53b191ed8ccba7adf253fe9859bb14546c74f Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 4 Jul 2024 16:31:40 +0200 Subject: [PATCH] docs(wordpress): Document how to increase the upload limit --- docs/services/wordpress.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/services/wordpress.md b/docs/services/wordpress.md index db9b4fe..d1612d8 100644 --- a/docs/services/wordpress.md +++ b/docs/services/wordpress.md @@ -50,3 +50,14 @@ wordpress_container_labels_middleware_basic_auth_enabled: true # See: https://doc.traefik.io/traefik/middlewares/http/basicauth/#users wordpress_container_labels_middleware_basic_auth_users: '' ``` + +### Increase upload limit + +Increasing the upload limit can be done by manually editing the file `/mash/wordpress/data/.htaccess` and adding the following at the end of the file + +```.htaccess +php_value upload_max_filesize 256M +php_value post_max_size 256M +php_value max_execution_time 600 +php_value max_input_time 600 +```