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(/|$) {