YunoHost-Apps / garage_ynh

Garage package for YunoHost
https://garagehq.deuxfleurs.fr/
GNU Affero General Public License v3.0
1 stars 2 forks source link

Should we had a client_max_body_size parameter in Nginx ? #24

Open lapineige opened 9 months ago

lapineige commented 9 months ago

In garage Nginx config I don't see the Nginx client_max_body_size parameter, which set the max upload file size.

Should we add that parameter ?

lapineige commented 9 months ago

Sounds like 1MB is the default limit, which is pretty low : https://stackoverflow.com/questions/28476643/default-nginx-client-max-body-size/28476755#28476755

Now the question is : should we add a limit, or don't restrict it ?