From 8dbc6bdb44465143731be249c80d6a774ea9630b Mon Sep 17 00:00:00 2001 From: Paolo Escobar Date: Sat, 23 Jan 2021 19:59:20 +0000 Subject: [PATCH] Increases client_max_body_size to allow file upload --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6b103cd..8a7374e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -79,6 +79,9 @@ location __PATH__/ { text/x-component text/x-cross-domain-policy; + # Allows file upload, e.g. fof/upload. + client_max_body_size 100M; + # Include SSOWAT user panel. # include conf.d/yunohost_panel.conf.inc; }