From 116893d11975f19de4799618945f805f8e9b9858 Mon Sep 17 00:00:00 2001 From: lapineige Date: Thu, 10 Nov 2022 16:48:52 +0100 Subject: [PATCH] Add upload limit documentation --- doc/DISCLAIMER.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index bc4cd928..39be44ec 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -18,6 +18,20 @@ Registrations are open by default. To change that setting, edit `/var/www/pixelfed/.env` and set `OPEN_REGISTRATION=false` instead of `true`. Then run `php7.4 artisan config:cache` to reload the settings. +### Change max upload limit + +To change max upload limit (default : 50MB), edit the Pixelfed `php-fpm.conf` file and find the line `Common values to change to increase file upload limit` +And adjust those values: +``` +php_admin_value[post_max_size] = 50M +php_admin_value[upload_max_filesize] = 50M +``` + + + + + + ### Disable search engine indexing If you don't want your Pixelfed instance to be indexed in search engine (and so on), edit `/var/www/pixelfed/public/robots.txt` like this: