* Nginx: fix upload of pictures bigger 1MB fails

This commit is contained in:
Ralf Becker 2018-03-15 17:19:52 +01:00
parent 65b2588d65
commit 98b2f3f4d3

View File

@ -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/;