From b323caf176a7c5222f3da11135d5f0b52d9cdd8a Mon Sep 17 00:00:00 2001 From: Keoma Brun Date: Thu, 2 Apr 2020 11:44:06 +0200 Subject: [PATCH] Increase nginx max body size Was 1M, increased it to 10M. This could be further improved to update php-fpm as well, such as done in: https://github.com/YunoHost-Apps/wallabag2_ynh/pull/55/files --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index d225572..88e75ee 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,4 +11,5 @@ location ^~ __PATH__/ { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; add_header X-Frame-Options "ALLOW-FROM https://__NEXTCLOUDDOMAIN__" always; -} \ No newline at end of file + client_max_body_size 10M; +}