From 98b2f3f4d31ec9c858f512266e6d519d173be25d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 15 Mar 2018 17:19:52 +0100 Subject: [PATCH] * Nginx: fix upload of pictures bigger 1MB fails --- doc/rpm-build/nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/rpm-build/nginx.conf b/doc/rpm-build/nginx.conf index 2b4860ef3e..a608f13d71 100644 --- a/doc/rpm-build/nginx.conf +++ b/doc/rpm-build/nginx.conf @@ -1,5 +1,9 @@ # /etc/nginx/sites-available/egroupware-nginx.conf # need to be symlinked to /etc/nginx/sites-enabled/ and nginx -s reload (after removing default!) + +# stuff for http block +client_max_body_size 1g; + server { listen 80 default_server; @@ -25,6 +29,9 @@ server { # include other EGroupware parts like Collabora include app.d/egroupware*.conf; + # other settings + client_max_body_size 65M; + # EGroupware installed in /usr/share/egroupware location ^~ /egroupware { alias /usr/share/egroupware/;