mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Increase file size upload limit
For the value, I don't really not what's meaningful… I believe most JPG images will be under 10MB, but PNG might be bigger, and stuff like loops and panorama images might be bigger… I'd suggest 20MB as a maximum (even if it's not really reasonable for a web picture to be that big)
This commit is contained in:
parent
e53882baae
commit
c5e1769816
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ location __PATH__/ {
|
|||
index index.php;
|
||||
|
||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||
#client_max_body_size 50M;
|
||||
client_max_body_size 20M;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
|
|
Loading…
Add table
Reference in a new issue