1
0
Fork 0
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:
lapineige 2019-06-06 10:03:19 +02:00 committed by GitHub
parent e53882baae
commit c5e1769816
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)(/.*)$;