From 2b1360cf93b55d2ff5bcd62becf35ce5591a0bdc Mon Sep 17 00:00:00 2001 From: polytan02 Date: Mon, 10 Aug 2015 23:04:19 +0100 Subject: [PATCH] Add of client_max_body_size 50M This is to be able to send attachments up to 50M php-fpm is already configured to handle this --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 353ec80..bf1430d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,6 +4,7 @@ location /Microsoft-Server-ActiveSync { rewrite ^ https://$server_name$request_uri? permanent; } index index.php; + client_max_body_size 50M; try_files $uri $uri/ index.php; rewrite ^(.*)$ /Microsoft-Server-ActiveSync/index.php last; location ~ [^/]\.php(/|$) {